What problem does it solve?
pnpm solves the challenges of dependency management in multi-package repositories by delivering deterministic installs, space-efficient storage, and strict dependency resolution that eliminates phantom deps.
Core Features & Use Cases
- Deterministic, reproducible installs across all workspace packages
- Full workspace support with pnpm-workspace.yaml, the workspace protocol, catalogs, and overrides
- Disk efficiency via a content-addressable store and hard-linked node_modules
- Overrides and patches to fix vulnerabilities or customize dependencies across the workspace
- Use Case: coordinate 3–5 apps and packages in a monorepo to maintain consistent versions and fast install times
Quick Start
Initialize a pnpm-based workspace at the repository root, then run pnpm install, and use pnpm add, pnpm -r run, or pnpm --filter to manage and execute scripts across packages.