What it is
A copy of every package Yarn has downloaded, so installs are faster and can work offline.
Can you delete it?
Yes, it is rebuilt automatically. Yarn downloads packages again when a project needs them. Your projects keep working.
How to clean it safely
- See the size: du -sh ~/Library/Caches/Yarn
- Run:
yarn cache clean
How big is it on your Mac?
This read-only command prints its size and changes nothing:
Terminal
du -sh ~/"Library/Caches/Yarn" 2>/dev/nullStep-by-step guide: Delete node_modules safely →
Related folders
- npx cache ·
~/.npm/_npx - Turborepo cache ·
<project>/.turbo - Vite dependency cache ·
<project>/node_modules/.vite - Bun install cache ·
~/.bun/install/cache - Deno cache ·
~/Library/Caches/deno - Playwright browsers ·
~/Library/Caches/ms-playwright
Questions
Is it safe to delete ~/Library/Caches/Yarn?
Yes, it is rebuilt automatically. Yarn downloads packages again when a project needs them. Your projects keep working.
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