npm cache cleanup mac / pnpm store cleanup / yarn cache cleanup / bun cache cleanup
npm / pnpm / Yarn / Bun cache cleanup
Unify JavaScript package-manager cache analysis and clean stale stores from one place.
Where storage typically grows
- Multiple package managers create overlapping cache stores.
- Old monorepo dependencies remain after project deletion.
- Manual cleanup across hidden paths is tedious and error-prone.
Paths covered by Free Mac Space
- ~/.npm/_cacache
- ~/.pnpm-store
- ~/Library/pnpm/store
- ~/.yarn/berry/cache
- ~/.yarn/cache
- ~/.bun/install/cache
Recommended workflow
1.
Scan Node toolchain cache paths across package managers.
2.
Sort by size and remove stale stores first.
3.
Keep currently active project caches if rebuild speed is still important.
4.
Re-run scan and export report for baseline tracking.
Safety boundary
Cache cleanup remains user-reviewed. Free Mac Space does not auto-delete package-manager storage.
FAQ
Can I clean npm and pnpm caches together?+
Yes. Free Mac Space surfaces all supported manager caches in one category view.
Will this remove dependencies from active projects?+
It targets cache and store locations, not project source folders, but you should still review paths before cleanup.
What format should I export for tooling scripts?+
JSON is best for automation, while CSV/HTML/PDF are better for review and sharing.