How to update pnpm version on macOS
I've been looking for the safest way to update pnpm on my MacBook. I've heard that you shouldn't use npm install -g pnpm
because it can mess some things up, probably point to the wrong binary, and would still execute an old version.
Here's what I did:
- I removed the pnpm binary:
- And reinstalled it with Homebrew:
Published on August 2, 2024 • 1 min read