Reclaim disk space from pnpm's content-addressable store with pnpm store prune

domain: pnpm.io · 5 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Find the active store location with pnpm store path (each drive/filesystem has its own store).
  2. Check store integrity with pnpm store status — exit code 0 means no package content was modified since unpacking.
  3. Run pnpm store prune to delete unreferenced packages (packages not used by any project on the system); pnpm prints the total size of removed files.
  4. If a pruned package is needed again later, pnpm simply re-downloads it — the docs state prune 'is not harmful and has no side effects on your projects'.
  5. Docs: https://pnpm.io/cli/store

Known gotchas

Give your agent this knowledge — and 16,900+ more routes

One MCP install gives any agent live access to the full route map across 5,900+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans