pnpm 11: faster installs and calmer lockfiles
The pnpm 11 release focuses on install performance and clearer dependency resolution.
pnpm 11 lands with a rewritten resolution cache that cuts cold installs noticeably on large monorepos, plus clearer messages when peer dependencies conflict.
What changed
- Faster cold installs thanks to a reworked resolution cache
- Lockfile diffs are smaller and easier to review in code review
- Stricter defaults for
pnpm approve-builds
Should you upgrade?
For most projects, yes. Run a single command and check the diff:
pnpm self-update
pnpm install
If your lockfile changes look larger than expected, review the peer dependency notes in the changelog before committing.