About use-pnpm
A development skill that directs package-management tasks to pnpm rather than npm or yarn. It provides command equivalents for common install, add, remove, run, and execute operations.
Key features
- 01Prefer pnpm for package management
- 02npm install command equivalents
- 03Add and remove package commands
- 04Run scripts with pnpm
- 05Use pnpm dlx and frozen installs
Use cases
- 01Installing project dependencies
- 02Adding or removing packages
- 03Running project scripts
- 04Executing package binaries
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ microlinkhq/ skills --skill use-pnpmAfter installing, type/use-pnpmin Claude Code to confirm it loaded.
Details
From the project READMEUse pnpm
Always use pnpm instead of npm or yarn for all package management operations.
Command mapping
| Instead of | Use |
|---|---|
npm install | pnpm install |
npm install <pkg> | pnpm add <pkg> |
npm install -D <pkg> | pnpm add -D <pkg> |
npm uninstall <pkg> | pnpm remove <pkg> |
npm run <script> | pnpm run <script> |
npx <cmd> | pnpm dlx <cmd> |
npm ci | pnpm install --frozen-lockfile |
Comments
Markdown supported