Fast, disk space efficient package manager
$ cnpm install @pnpm/exe -g
This version of the pnpm CLI is packaged with Node.js into an executable. So it may be used on a system with no Node.js installed. This makes pnpm not only a Node.js package manager but also a Node.js version manager (see related discussion).
On macOS, Linux, or Windows Subsystem for Linux:
curl -fsSL https://get.pnpm.io/install.sh | sh -
If you don't have curl installed, you would like to use wget:
wget -qO- https://get.pnpm.io/install.sh | sh -
After installation, restart your shell to get pnpm accessible.
On macOS, Linux, or Windows Subsystem for Linux:
curl -f https://get.pnpm.io/v6.16.js | node - add --global @pnpm/exe
On Windows (using PowerShell):
(Invoke-WebRequest 'https://get.pnpm.io/v6.16.js' -UseBasicParsing).Content | node - add --global @pnpm/exe
MIT
Copyright 2013 - present © cnpmjs.org | Home |