v0.1.3 44 dev tools supported →

Where did 80 GB go?

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.

  • macOS 13.0+
  • Apple Silicon & Intel
  • Native app
  • Works offline
before you download anything

Check it yourself in one line.

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.

zsh — ~
❯ 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
supported tools

It knows where your toolchain hides things.

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 Command
    ~/.npm
    $ npm cache clean --force
  • Yarn cache Command
    ~/Library/Caches/Yarn
    $ yarn cache clean
  • Yarn Berry cache Command
    ~/.yarn/berry/cache
    $ yarn cache clean --all
  • pnpm store Command
    ~/Library/pnpm/store~/.pnpm-store~/.local/share/pnpm/store
    $ pnpm store prune

    Removes packages no project uses.

  • Bun cache Command
    ~/.bun/install/cache
    $ bun pm cache rm
  • Deno cache Show in Finder
    ~/Library/Caches/deno
  • Playwright browsers Command
    ~/Library/Caches/ms-playwright
    $ npx playwright uninstall --all
  • Puppeteer browsers Show in Finder
    ~/.cache/puppeteer
  • Electron downloads Show in Finder
    ~/Library/Caches/electron
  • Node.js versions Command
    ~/.nvm/versions/node
    $ nvm ls

    Uninstall the versions you no longer use.

  • pip cache Command
    ~/Library/Caches/pip~/.cache/pip
    $ pip cache purge
  • uv cache Command
    ~/.cache/uv
    $ uv cache clean
  • Poetry cache Show in Finder
    ~/Library/Caches/pypoetry
  • Conda packages Command
    ~/.conda/pkgs~/miniconda3/pkgs~/anaconda3/pkgs~/miniforge3/pkgs
    $ conda clean --all
  • Python versions Command
    ~/.pyenv/versions
    $ pyenv versions

    Uninstall the versions you no longer use.

  • Cargo registry Show in Finder
    ~/.cargo/registry
  • Cargo git checkouts Show in Finder
    ~/.cargo/git
  • Rust toolchains Command
    ~/.rustup/toolchains
    $ rustup toolchain list

    Uninstall the toolchains you no longer use.

  • Go module cache Command
    ~/go/pkg/mod
    $ go clean -modcache
  • Go build cache Command
    ~/Library/Caches/go-build
    $ go clean -cache
  • Xcode build files Move to Trash
    ~/Library/Developer/Xcode/DerivedData

    Recreated on the next build.

  • Xcode archives Show in Finder
    ~/Library/Developer/Xcode/Archives

    Keep the ones you may need for crash reports.

  • Device support files Move to Trash
    ~/Library/Developer/Xcode/iOS DeviceSupport~/Library/Developer/Xcode/watchOS DeviceSupport

    Downloaded again when you connect a device.

  • iOS simulators Command
    ~/Library/Developer/CoreSimulator/Devices
    $ xcrun simctl delete unavailable

    Removes simulators for iOS versions you no longer have.

  • Simulator caches Move to Trash
    ~/Library/Developer/CoreSimulator/Caches
  • CocoaPods cache Command
    ~/Library/Caches/CocoaPods
    $ pod cache clean --all
  • Homebrew downloads Command
    ~/Library/Caches/Homebrew
    $ brew cleanup --prune=all
  • Gradle caches Show in Finder
    ~/.gradle/caches
  • Gradle versions Show in Finder
    ~/.gradle/wrapper/dists
  • Maven repository Show in Finder
    ~/.m2/repository
  • Android SDK Show in Finder
    ~/Library/Android/sdk

    Remove unused platforms in Android Studio's SDK Manager.

  • Android emulators Show in Finder
    ~/.android/avd

    Delete unused devices in Android Studio's Device Manager.

  • NuGet packages Command
    ~/.nuget/packages
    $ dotnet nuget locals all --clear
  • Dart & Flutter packages Command
    ~/.pub-cache
    $ dart pub cache clean
  • Ruby gems Command
    ~/.gem
    $ gem cleanup

    Removes old versions of installed gems.

  • Ruby versions Command
    ~/.rbenv/versions
    $ rbenv versions

    Uninstall the versions you no longer use.

  • Docker Command
    ~/Library/Containers/com.docker.docker/Data/vms
    $ docker system prune -a

    Removes images and containers not in use.

  • OrbStack Command
    ~/.orbstack/data
    $ docker system prune -a

    Removes images and containers not in use.

  • Colima Command
    ~/.colima
    $ docker system prune -a

    Removes images and containers not in use.

  • Ollama models Command
    ~/.ollama/models
    $ ollama list

    Remove models you no longer use.

  • Hugging Face cache Command
    ~/.cache/huggingface
    $ hf cache scan

    Downloaded models and datasets.

  • LM Studio models Show in Finder
    ~/.lmstudio/models~/.cache/lm-studio/models

    Remove models you no longer use in LM Studio.

  • Trash Empty Trash
    ~/.Trash
  • App caches Show in Finder
    ~/Library/Caches

    Quit an app before removing its folder.

no false positives

A folder named 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.

node_modulesdistbuild.next.nuxt.svelte-kit.turbo.parcel-cache.angular.expo
needs package.json
target
needs Cargo.toml
.venvvenv
needs pyvenv.cfg inside
.tox
needs tox.ini or pyproject.toml
Pods
needs Podfile
.build
needs Package.swift
.dart_tool
needs pubspec.yaml
.gradle
needs build.gradle or settings.gradle (.kts)
what gets counted
  • ~/code/
  • webapp/ git
  • package.json
  • node_modules/ 1.8 GB ✓ has package.json
  • .next/ 412 MB ✓ has package.json
  • engine/ git
  • Cargo.toml
  • target/ 6.3 GB ✓ has Cargo.toml
  • photos/
  • build/ ✗ no project file: your folder, not build output
  • old-prototype/
  • node_modules/ ✗ package.json is gone: not counted
safety model

Nothing is deleted automatically.

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.

Command

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
Trash

Move to Trash, with a confirmation

Project build folders and rebuildable Xcode data go to the macOS Trash, not rm -rf. Changed your mind? Put Back.

Finder

Show in Finder

When there's no one-size-fits-all answer (Xcode archives, app caches, Gradle versions), it opens the folder so you can decide.

dock & menu bar

Free space at a glance, in the Dock.

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.

Warn below
features

Fast, small, and stays on your Mac.

A native app, 8.8 MB to download.

Native
No Electron
A real Mac app, about 10 MB installed.
Fast
Results as it scans
Folders are measured in parallel, and each one appears the moment it's done.
Instant
Opens on your last scan
The window shows your last results right away, then refreshes in the background.
Accurate
Matches du
Real space used on disk, not Finder's estimate.
Honest
No double counting
Files shared between projects, like pnpm's, are counted once and marked, so you know what removing them really frees.
Private
Works offline
No account, no telemetry, no update pings. Nothing leaves your Mac.

Keyboard first.

Tabs live in the title bar. Closing the window only hides it; the Dock gauge keeps updating.

  • ⌘1 Overview
  • ⌘2 Clean up
  • ⌘3 Settings
  • ⌘R Refresh now
  • ⌘Q Quit
faq

Common questions.

Will it delete anything on its own?

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.

Why is the first scan slow?

It measures every folder in your home directory once. After that it opens on the last result instantly and refreshes in the background.

Why do I see “shared” next to node_modules?

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.

Does it need Full Disk Access?

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.

Does it phone home?

No. There's no telemetry, no update check and no account. Everything stays on your Mac.

macOS says it can't verify the app. Is it safe?

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.

Intel Macs? Linux?

It runs on both Apple Silicon and Intel Macs with macOS 13.0 or later. Other platforms may come later.

Get your gigabytes back.

macOS 13.0+ · Apple Silicon & Intel · 8.8 MB

  1. Drag Disk Monitor to Applications.
  2. Open it. macOS says it can't verify the app. Click Done.
  3. System Settings → Privacy & Security, then Open Anyway. Only the first time.