How to Install pnpm
Guide on how to install pnpm through various methods
pnpm (Performant npm) was created with the purpose of making it easier to download dependencies for your projects without having to worry about using up valuable disk space, while also making the installation faster. You have several options for installing pnpm on your machine.
Installing pnpm using npm
npm i -g pnpm
Installing pnpm using Homebrew
brew install pnpm
Installing pnpm using Scoop
scoop install nodejs-lts pnpm
If you don’t have Scoop installed, you can read my post to learn how to install it.
Verify the Installation
Now we should verify the installation was successful by checking the version.
pnpm --version
The response should be the current version of pnpm you have just installed on your machine.
You can find me on: Twitter, LinkedIn, or Github