On Windows (PowerShell):
The standalone script is signed. Here's how to verify it.
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:
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.js||pnpm 1||pnpm 2||pnpm 3||pnpm 4||pnpm 5||pnpm 6|
If pnpm is broken and you cannot fix it by reinstalling, you might need to remove it manually from the PATH.
Let's assume you have the following error when running
First, try to find the location of pnpm by running:
which pnpm. If you're on Windows, run this command in Git Bash.
You'll get the location of the pnpm command, for instance:
Now that you know where the pnpm CLI is, open that directory and remove any pnpm-related files (
Once done, install pnpm again and it should work as expected.
If you need to remove the pnpm CLI from your system and any files it have written to your disk, see Uninstalling pnpm.