Run the tool's own command
Package managers and toolchains get their own cleanup command: npm cache clean, brew cleanup, docker system prune. Copy it, or let the app open Terminal and run it where you can see it, after you confirm.
pnpm store prune
Disk Monitor is a tiny native macOS app that finds what your dev tools leave behind:
node_modules, Cargo target, Xcode DerivedData, Docker images, Ollama models
and more. It shows you the size of each and how to clean it.
Paste this into a terminal. It lists your ten heaviest node_modules folders.
On our machine the top five came to 13.4 GB, and the scan took 41 seconds.
That's one kind of folder. Disk Monitor checks 18 kinds of build folders and 44 tool caches at once, in the background, and remembers the results so it opens instantly.
❯ find ~ -name node_modules -type d -prune \ -exec du -sh {} + 2>/dev/null | sort -rh | head 3.2G ~/code/dashboard/node_modules 3.1G ~/code/marketing-site/node_modules 2.6G ~/code/api/node_modules 2.6G ~/code/api/.worktrees/feature-x/node_modules 1.9G ~/code/edge-workers/node_modules … # real 0m41.18s
44 known locations, each with the safest way to clean it. Where a tool has its own command, you get that command to copy, or to run in Terminal after you confirm.
$ npm cache clean --force$ yarn cache clean$ yarn cache clean --all$ pnpm store pruneRemoves packages no project uses.
$ bun pm cache rm$ npx playwright uninstall --all$ nvm lsUninstall the versions you no longer use.
$ pip cache purge$ uv cache clean$ conda clean --all$ pyenv versionsUninstall the versions you no longer use.
$ rustup toolchain listUninstall the toolchains you no longer use.
$ go clean -modcache$ go clean -cacheRecreated on the next build.
Keep the ones you may need for crash reports.
Downloaded again when you connect a device.
$ xcrun simctl delete unavailableRemoves simulators for iOS versions you no longer have.
$ pod cache clean --all$ brew cleanup --prune=allRemove unused platforms in Android Studio's SDK Manager.
Delete unused devices in Android Studio's Device Manager.
$ dotnet nuget locals all --clear$ dart pub cache clean$ gem cleanupRemoves old versions of installed gems.
$ rbenv versionsUninstall the versions you no longer use.
$ docker system prune -aRemoves images and containers not in use.
$ docker system prune -aRemoves images and containers not in use.
$ docker system prune -aRemoves images and containers not in use.
$ ollama listRemove models you no longer use.
$ hf cache scanDownloaded models and datasets.
Remove models you no longer use in LM Studio.
Quit an app before removing its folder.
No matching tools.
build isn't always build output.
A folder only counts as build output when its project file sits next to it. Your
~/photos/build is never offered for deletion. Results are grouped by git repository,
so one click moves a whole project's build output to the Trash.
There's no "Clean All" button and nothing runs on a schedule. Every place offers one of three actions, chosen for what that folder actually is.
Package managers and toolchains get their own cleanup command: npm cache clean, brew cleanup, docker system prune. Copy it, or let the app open Terminal and run it where you can see it, after you confirm.
pnpm store prune Project build folders and rebuildable Xcode data go to the macOS Trash, not rm -rf. Changed your mind? Put Back.
When there's no one-size-fits-all answer (Xcode archives, app caches, Gradle versions), it opens the folder so you can decide.
The Dock icon is a live gauge that updates as your free space changes. It turns amber, then red, as space runs low, and a badge appears only when it matters. Prefer the menu bar? Show a small ring there instead and hide the Dock icon.
Drag the slider to see how it changes.
A native app, 8.8 MB to download.
Tabs live in the title bar. Closing the window only hides it; the Dock gauge keeps updating.
No. Nothing is removed without you clicking a button and confirming. Build folders go to the Trash, and tool caches give you the tool's own command to run.
It measures every folder in your home directory once. After that it opens on the last result instantly and refreshes in the background.
pnpm (and some other tools) share one copy of a file between projects. Shared files are counted once and marked, because removing one project's folder may not free that space.
No. Without it, folders macOS protects (Mail, Messages, and so on) are skipped. If you want them counted, the app shows you where to turn it on.
No. There's no telemetry, no update check and no account. Everything stays on your Mac.
The app isn't notarized by Apple yet, so macOS asks you to confirm the first time you open it. Open System Settings → Privacy & Security, scroll down and click Open Anyway. You only do this once.
It runs on both Apple Silicon and Intel Macs with macOS 13.0 or later. Other platforms may come later.
macOS 13.0+ · Apple Silicon & Intel · 8.8 MB