WARNING: This installation method is not supported anymore.
Visit the installation page of pnpm to see the currently recommended installation technics.
curl -L https://raw.githubusercontent.com/pnpm/self-installer/master/install.js | node
The above script will install the latest version of pnpm but you may also install
a specific version by specifying the
PNPM_VERSION environment variable:
curl -L https://raw.githubusercontent.com/pnpm/self-installer/master/install.js | PNPM_VERSION=1.16.2 node
Here are all the supported environment variables that can influence pnpm's installation:
|PNPM_VERSION||version, range, tag||
(not older than
|PNPM_DEST||Path||The directory into which pnpm's files will be downloaded.||