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.
MIT