Creates the pnpm home directory and updates shell configuration as needed.
Section: Getting Started
Set up pnpm on your machine
bash
bash
pnpm setupExplanation
Creates the pnpm home directory and updates shell configuration as needed.
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
Install pnpm with standalone script
Install pnpm via the official standalone script.
Show Node.js version used by pnpm
Check the Node runtime in the current environment.