Back to Pnpm Io

pnpm CLI

versioned_docs_archived/version-2.x/pnpm-cli.md

latest574 B
Original Source

Just use pnpm in place of npm:

sh
pnpm install lodash

npm commands that are re-implemented in pnpm:

  • install
  • update
  • uninstall
  • link
  • prune
  • list
  • install-test
  • outdated
  • rebuild
  • root
  • help

Also, there are some commands unique to pnpm:

The rest of the commands pass through to npm.

For using the programmatic API, use pnpm's engine: supi.