Enable pnpm via Corepack

Corepack ships with Node and is the official way to enable pnpm without npm install -g.

Enables pnpm through Node.js Corepack without a separate npm install. Corepack manages package manager versions per project via packageManager in package.json.

When you need this: When your project uses pnpm as its package manager.

Command


        
2 views 0 copies
Log in to rate
Log in to save

Free account — save snippets into your own collections.