What it is
pnpm's content-addressed store. Projects link their packages from here instead of copying them.
Can you delete it?
Yes, it is rebuilt automatically. pnpm can remove packages no project uses any more. Packages are downloaded again if needed.
How to clean it safely
- See the size: du -sh ~/Library/pnpm/store
- Run:
pnpm store prune - Prefer prune over deleting the folder: projects hard-link into it.
How big is it on your Mac?
This read-only command prints its size and changes nothing:
Terminal
du -sh ~/"Library/pnpm/store" 2>/dev/nullStep-by-step guide: Delete node_modules safely →
Related folders
- Vite dependency cache ·
<project>/node_modules/.vite - Turborepo cache ·
<project>/.turbo - npx cache ·
~/.npm/_npx - Bun install cache ·
~/.bun/install/cache - Deno cache ·
~/Library/Caches/deno - node-gyp headers ·
~/Library/Caches/node-gyp
Questions
Is it safe to delete ~/Library/pnpm/store?
Yes, it is rebuilt automatically. pnpm can remove packages no project uses any more. Packages are downloaded again if needed.
Let the raccoon do it, safely
Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.
Download for Mac