Skip to content

Always use pnpm as the package manager.

User intent

  • installing
  • adding
  • removing dependencies
  • running scripts
  • any npm/yarn/pnpm command. Replaces npm and yarn with pnpm equivalents

Installation

npx skills add https://github.com/microlinkhq/skills --skill use-pnpm
# Use 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` |