pnpm Cheat Sheet/Install pnpm with standalone script

Install pnpm via the official standalone script.

Section: Getting Started

Install pnpm with standalone script

bash
bash
curl -fsSL https://get.pnpm.io/install.sh | sh -
Explanation

Install pnpm via the official standalone script.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Getting Started
Set up pnpm on your machine
Creates the pnpm home directory and updates shell configuration as needed.
OpenIn sheetbashsame section
Initialize a package
Create a package.json interactively.
OpenIn sheetbashsame section
Show pnpm help
Display top-level CLI help.
OpenIn sheetbashsame section
Show help for a command
Display help for a specific subcommand.
OpenIn sheetbashsame section
Show pnpm version
Print the installed pnpm version.
OpenIn sheetbashsame section
Show Node.js version used by pnpm
Check the Node runtime in the current environment.
OpenIn sheetbashsame section