pnpm
Commands
# Install
npm install -g pnpm@latest-10
# Where is the global directory
pnpm root -g
Quick start
- Remove
node_modules - [Optional] Create
pnpm-workspace.yamlif you use workspaces - Run
pnpm import - Remove
package-lock.json - Run
pnpm install - Replace all
npm run xxxcommands topnpm run xxx
rm -rf node_modules/
pnpm import
rm -f package-lock.json
pnpm install