Measure everything at once (read-only)
Terminal
du -sh ~/Library/Developer/Xcode/DerivedData ~/Library/Developer/CoreSimulator \
~/Library/Containers/com.docker.docker ~/.gradle ~/.android/avd ~/.npm ~/.cargo \
~/Library/Caches/pip ~/Library/Caches/Homebrew ~/.ollama ~/.cache/huggingface 2>/dev/null | sort -hThe checklist
| What | Safe command | Rebuilds? |
|---|---|---|
| Xcode DerivedData | rm -rf ~/Library/Developer/Xcode/DerivedData/* | Yes, on next build |
| Old simulators | xcrun simctl delete unavailable | n/a |
| Docker | docker system prune | Images pull again |
| node_modules | delete per project | npm install |
| npm / Yarn / pnpm caches | npm cache clean --force, yarn cache clean, pnpm store prune | Yes |
| Gradle | rm -rf ~/.gradle/caches | Yes |
| Rust | cargo clean per project | Yes |
| Python | pip cache purge, uv cache clean, conda clean --all | Yes |
| Homebrew | brew cleanup | Yes |
| CocoaPods / SwiftPM | pod cache clean --all | Yes |
| AI models | ollama rm <model> | Download again |
Before deleting anything inside a project folder, check
git status. Build output is rebuildable; uncommitted work is not.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 beta for Mac.
Download for Mac

