pnpm Command Examples

Fast, disk space efficient package manager for Node.js. Manage Node.js projects and their module dependencies. More information: https://pnpm.io.

pnpm init

pnpm install

pnpm add {{module_name}}@{{version}}

pnpm add -D {{module_name}}

pnpm add -g {{module_name}}

pnpm remove {{module_name}}

pnpm list

pnpm list -g --depth={{0}}