The 5 best Mac cleaner apps for developers (2026)
Xcode DerivedData, simulators, node_modules, Docker images and package caches can eat a surprising share of your disk. Here’s what to use to get that space back, and the commands to do it by hand.
The best Mac cleaner apps for developers in 2026 are CleanMyMac (best all-round Mac maintenance suite), DaisyDisk (best for seeing exactly what fills your disk), DevCleaner for Xcode (best free tool for Xcode caches), npkill (best free command-line tool for old node_modules folders) and DevSweep (best for clearing every toolchain’s caches and old project dependencies in one app). If you only use Xcode occasionally, macOS’s own Storage settings and a few Terminal commands are enough.
Disclosure: We make DevSweep, one of the apps on this list. We’ve tried to place it where it genuinely fits and to describe every app fairly, using each developer’s own site. Prices and features checked 28 October 2026.
Quick comparison
| App | Best for | Price model | Runs locally? | Requires |
|---|---|---|---|---|
| CleanMyMac | All-round Mac cleanup, malware checks and uninstalling | Subscription or one-time purchase | Yes | macOS 11+ |
| DaisyDisk | Seeing what fills your disk | One-time, $9.99 | Yes | macOS 10.13+ |
| DevCleaner for Xcode | Xcode caches only | Free and open source (optional tips) | Yes | macOS 14+ |
| npkill | Old node_modules from the terminal | Free and open source | Yes | Node.js 14+ |
| DevSweep | Every dev toolchain plus old project dependencies | One-time purchase | Yes | macOS 14+ |
Prices and features checked 28 October 2026 on each developer’s website. Check the official site before you buy.
1. CleanMyMac: best all-round Mac maintenance suite
CleanMyMac from MacPaw is the best-known Mac cleaner. Version 5.5.7 shipped in July 2026, and the app is notarized by Apple. It’s sold on MacPaw’s store, the Mac App Store and Setapp.
Standout features
- Smart Care, a one-button routine that combines cleanup, a threat scan, performance tasks and app updates.
- System junk removal and a large and old files finder.
- Malware detection and removal.
- A full uninstaller that removes apps’ leftover files.
- Duplicate and similar-photo detection, plus cloud storage cleanup.
Limits
- It’s a general maintenance tool. Its product page doesn’t list Xcode, simulator or package-manager caches, so developers may still need a specialist.
- One-time buyers don’t get free major-version upgrades.
Who it’s for: anyone who wants one app for the whole Mac, including security checks and uninstalling, and is happy to pay for convenience.
2. DaisyDisk: best for seeing what fills your disk
DaisyDisk from Software Ambience scans a disk and draws it as an interactive map, so the 40 GB folder you forgot about jumps out. Version 4.34.2 shipped in July 2026. It doesn’t know what a cache is, but it shows you where the space went, which is often the first question.
Standout features
- Fast scanning with sizes that account for clones and hard links.
- Scan as administrator to see restricted folders.
- A breakdown of the vague “System Data” category, plus finding and removing local snapshots.
- Quick Look preview with Space before you delete.
- Scanning of Dropbox, Google Drive, OneDrive and Box.
Limits
- It shows you files and folders; deciding what’s safe to delete is up to you.
- It doesn’t run tool commands such as
xcrun simctlordocker system prune.
Who it’s for: developers who want to see the whole disk first, then decide what to remove.
3. DevCleaner for Xcode: best free tool for Xcode caches
DevCleaner for Xcode, by Konrad Kołakowski, does one job well: it scans ~/Library/Developer and lists the Xcode leftovers that build up over months. Version 2.8.0 shipped in November 2025.
Standout features
- Cleans DerivedData, Archives, Device Support files (including visionOS), documentation caches and old logs.
- Nothing is selected by default, so you review each item.
- A command-line tool for scripts, including headless use over SSH or in CI.
- An optional reminder to scan again after a set time.
Limits
- Xcode only: no Node, Python, Docker or Homebrew caches.
- The project notes that it relies on Xcode’s undocumented folder layout, which can change with new Xcode versions.
Who it’s for: Apple-platform developers who want a free, focused Xcode cleanup.
4. npkill: best free terminal tool for node_modules
npkill is a small interactive tool you run with npx npkill. It finds every node_modules folder under the current directory, shows how big each one is and when it was last touched, and deletes the ones you pick. The latest npm release is 0.12.2 (June 2024), and the repository is still active.
Standout features
- Keyboard driven: arrow keys to move, Space to delete, multi-select for batches.
- Flags folders that other installed apps may need with a ⚠️ warning.
-tto look for other folder names (for example.cache),-xto skip sensitive folders, and--dry-runto rehearse.- JSON output for scripting.
Limits
- It targets folders by name; it doesn’t know about Xcode, Docker or global package caches unless you point it at them.
- It’s terminal-only, and its last tagged release is from 2024.
Who it’s for: web developers comfortable in the terminal who mainly need to clear node_modules.
5. DevSweep: best for every toolchain in one app
DevSweep is a native Mac app built only for developer clutter. It measures each toolchain it finds, labels every item by how safe it is to remove, and cleans what you select. It only shows tools that are actually installed.
Standout features
- Xcode DerivedData, Device Support, Archives and SwiftPM caches; unavailable simulators via
simctl, simulator caches and devices. - npm, Yarn, pnpm, Bun and Deno caches, node-gyp and Electron, and Playwright, Puppeteer and Cypress browsers.
- pip, Poetry, uv and conda; Cargo and old rustup toolchains; Go build and module caches; Gradle, Maven and Android emulators; CocoaPods, Carthage, Flutter and Ruby gems.
- Docker (
docker system prunewith the reclaimable size up front), Homebrew downloads and old formula versions, VS Code, Cursor and JetBrains caches, and AI model folders for Ollama, LM Studio, Hugging Face, PyTorch and Whisper. - A Projects scan that finds
node_modules,.next,dist, Rusttarget,Pods,.venvand build folders, filtered to repos untouched for 30 days, 90 days or a year. Symlinks are never followed. - Safe, Review and In use labels (In use means touched in the last hour); “Select All Safe” never picks the others. Items go to the Trash by default, or you can delete permanently. A disk map shows where the space is.
What it doesn’t do
- No malware scanning, app uninstalling or general “large files” cleanup of your documents and photos.
- No scheduled or automatic cleaning; you scan and choose each time.
- No command-line version, so it’s not for CI machines.
- Docker has to be running for DevSweep to measure and prune it.
Who it’s for: polyglot developers who want one place to see how much space Xcode, Node, Python, Rust, Android, Docker and AI models are using, with a clear safety label on each.
The built-in option: Storage settings and Terminal
macOS has a developer-aware cleanup hidden in plain sight. On macOS 14 Sonoma, 15 Sequoia and 26 Tahoe, open System Settings › General › Storage and click the i button next to Developer. It lists Xcode caches, Xcode project build files and developer tools you can delete. In Xcode itself, Xcode › Settings › Platforms lets you remove simulator runtimes you no longer need.
For everything else, these commands are the standard ones. Quit Xcode before deleting DerivedData, and check sizes first with du:
# See what's big before deleting anything
du -sh ~/Library/Developer/Xcode/DerivedData ~/Library/Developer/CoreSimulator ~/Library/Caches
# Xcode build products (rebuilt on the next build)
rm -rf ~/Library/Developer/Xcode/DerivedData
# Simulators whose runtime is no longer installed
xcrun simctl delete unavailable
# Docker: stopped containers, unused networks, dangling images, build cache
docker system prune
# Homebrew: old versions and old downloads
brew cleanup
# Package manager caches
npm cache clean --force
pip cache purge
# List node_modules folders under ~/Code with their sizes
find ~/Code -type d -name node_modules -prune -exec du -sh {} +
A few cautions. rm -rf skips the Trash, so double-check the path. docker system prune -a also removes every image not used by a container, which means big downloads next time. If pip isn’t on your path, use python3 -m pip cache purge. And replace ~/Code with wherever you keep your projects.
How we picked
- Developer relevance: each pick handles at least one thing developers fill their disks with, or shows you where the space went.
- Safety: we favored tools that let you review before deleting.
- Current: we checked each app’s latest release on its official site, App Store listing, GitHub or npm.
- Local: all five work on your Mac without uploading your files.
- Order: general-purpose tools first, specialists last. We left out OmniDiskSweeper because we couldn’t confirm its current price and requirements on Omni’s site.
We make DevSweep. We’ve listed what it doesn’t do so you can pick a free tool if that covers you.
FAQ
Is it safe to delete DerivedData on a Mac?
Yes. DerivedData holds Xcode’s build products and indexes, and Xcode recreates it on the next build. Quit Xcode first, and expect the next build to take longer than usual.
How do I delete all node_modules folders on a Mac?
Run npx npkill in your projects folder to pick folders interactively, or use find with -name node_modules -prune to list them with their sizes before removing any. Run npm install in a project to bring its dependencies back.
What is the best Mac cleaner for developers?
For Xcode only, DevCleaner for Xcode is free and focused. For node_modules only, npkill is free. If you use several toolchains and want caches and old project folders handled with safety labels in one app, DevSweep is built for that.
Is there a free Mac cleaner for Xcode?
Yes. DevCleaner for Xcode is free on the Mac App Store and open source. macOS also has a Developer section in System Settings, under General and then Storage, that can remove Xcode caches and project build files.
Does CleanMyMac clean Xcode and developer caches?
CleanMyMac’s product page focuses on system junk, malware, performance and uninstalling, and doesn’t list Xcode or package-manager caches. Check MacPaw’s documentation if you need that specifically.
How do I free up System Data on a Mac as a developer?
Developer caches such as DerivedData, simulators and package caches often sit inside the System Data total. Clearing them with the Storage settings, Terminal commands or a developer cleaner usually brings that number down.
Key takeaways
- CleanMyMac is the all-round maintenance suite; DaisyDisk shows exactly where the space went for a one-time $9.99.
- DevCleaner for Xcode and npkill are free and excellent at their single job.
- DevSweep covers Xcode, JavaScript, Python, Rust, Go, Android, Docker, Homebrew and AI models in one app, with Safe and Review labels.
- macOS’s Storage settings have a Developer section, and a handful of commands clear the rest.
- Caches come back when you build; archives, simulators and models may not, so review before deleting.