pnpm
Installation
SKILL.md
pnpm
pnpm is a fast, disk-efficient package manager for JavaScript that uses a content-addressable store and symlinked node_modules to eliminate duplicate dependencies across projects.
When to Use
- Fast, Disk-Efficient JavaScript Package Management: Saving gigabytes of disk space via a content-addressable hard-link store.
- Strict Dependency Resolution: Eliminating phantom dependencies (preventing access to unlisted transitive packages).
- Enterprise Monorepos: Scaling multi-package workspaces with
pnpm-workspace.yamland fast parallel execution. - Continuous Integration Optimization: Slashing CI installation times by up to 2x-3x through global store caching.
Quick Start
# Enable via Corepack
corepack enable
corepack prepare pnpm@latest --activate