pnpm store (~/Library/pnpm) on Mac: what it is and whether you can delete it
MACMAN FOLDER · 2026-11-16
~/Library/pnpm~/Library/Caches/pnpm
What it is
~/Library/pnpmSafe to delete nowpnpm package store — regenerated
~/Library/Caches/pnpmSafe to delete nowPackage store cache
Why it grows
pnpm keeps a single copy of the files for each package version in its store, and your projects share it. On a Mac this store usually sits under ~/Library/pnpm.
Package versions that no project uses any more stay in the store until you clean it up. The more projects you work through, the bigger it gets.
~/Library/Caches/pnpm holds caches such as package information pnpm has downloaded.
Before you delete
~/Library/pnpmpnpm store prune can clean up only what is unused
~/Library/Caches/pnpmThe app rebuilds it after deletion
How to check its size
In Finder, choose Go > Go to Folder (Shift-Command-G), enter ~/Library/pnpm or ~/Library/Caches/pnpm, then use Get Info (Command-I) to see the size.
In Terminal, run du -sh ~/Library/pnpm ~/Library/Caches/pnpm to see the size.
The free MacMan Scan diagnosis lists this folder with its size and grade. The scan is read-only.
How to shrink it safely
- Enter
pnpm store prunein Terminal. It deletes from the store only the packages no project currently uses. - Do not delete the whole ~/Library/pnpm folder. Depending on how you installed pnpm, pnpm itself and your globally installed packages can live in it.
- You can move the contents of ~/Library/Caches/pnpm to the Trash. pnpm recreates it when needed.
How MacMan Scan handles this folder
~/Library/pnpmMacMan Scan lists this folder only when it is 1 GB or larger, as one whole-folder row under "Check yourself" on the cleanup screen, unchecked. It becomes a deletion target only if you check it yourself.
~/Library/Caches/pnpmMacMan Scan lists this folder on the cleanup screen, checked by default. Nothing is deleted until you press the delete button yourself.
Related folders
- npm cache (~/.npm) on Mac: what it is and whether you can delete it
- Homebrew cache folder on Mac: what it is and how to clear it
- uv cache (~/.cache/uv) on Mac: what it is and whether you can delete it
The scan is read-only. Diagnosis alone deletes nothing.