pnpm CheatSheet
Install and Upgrade
npm install -g pnpm@latest-10
Set the package manager in package.json
for example:
{
"packageManager": "[email protected]"
}
If you do not update package.json
, upgrading the global pnpm will still use the old version and give you the update message.
Run
pnpm install