Skip to main content
Version: 5.x


Using a standalone script

curl -f | node - add --global pnpm

On Windows (PowerShell):

(Invoke-WebRequest '' -UseBasicParsing).Content | node - add --global pnpm

Using npm

npm install -g pnpm

Via npx resolution

npx pnpm add -g pnpm


Once you have installed pnpm, there is no need to use other package managers to update it. You can upgrade pnpm using itself, like so:

pnpm add -g pnpm

Do you wanna use pnpm on CI servers? See: Continuous Integration.


Here is a list of past pnpm versions with respective Node.js version support.

Node.jspnpm 1pnpm 2pnpm 3pnpm 4pnpm 5pnpm 6
Node.js 4✔️
Node.js 6✔️✔️
Node.js 8✔️✔️✔️
Node.js 10✔️✔️✔️✔️✔️
Node.js 12✔️✔️✔️✔️
Node.js 14✔️✔️✔️✔️