pnpm
Installation
SKILL.md
pnpm
pnpm is fast and disk-efficient. It uses a Content Addressable Store and hard links to avoid duplicating packages. v9 (2025) adds Catalogs.
When to Use
- Disk Space: Saves GBs by storing one copy of
lodashglobally. - Speed: Installation is instant if packages are already in the store.
- Monorepos: Excellent workspace support with strict isolation.
Quick Start
# Enable via Corepack
corepack enable
corepack prepare pnpm@latest --activate
pnpm add next