| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Your Mac is hiding 50–500 GB of developer caches. ClearDisk finds them in seconds.
A free, open-source macOS menu bar app that monitors and cleans developer caches, Xcode, npm, Homebrew, Docker, pip, Cargo, Go, Gradle, and more. No data collection. No analytics. Network access is limited to signed update checks.
Your Mac's SSD is full of developer caches you forgot about. Xcode DerivedData alone can eat 200 GB. Add npm, Homebrew, Docker, pip, and Cargo — and you're losing hundreds of gigabytes to files that can be safely rebuilt.
Existing tools don't solve this:
ClearDisk scans 74 developer cache paths in one tool. Lives in your menu bar. Alerts you when disk gets full.
| Feature | ClearDisk | DevCleaner | npkill | kondo | mac-cleanup | DaisyDisk | CleanMyMac |
|---|---|---|---|---|---|---|---|
| Native macOS GUI | ✅ | ✅ | ❌ CLI | ❌ CLI | ❌ CLI | ✅ | ✅ |
| Menu bar monitor | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Xcode cleanup | ✅ 9 paths | ✅ 6 paths | ✅ | ✅ | ✅ | ❌ | ✅ |
| npm/pip/brew/go/cargo | ✅ | ❌ | Partial | ❌ | ✅ | ❌ | Partial |
| Docker/Gradle/Maven | ✅ | ❌ | ❌ | ❌ | Partial | ❌ | ❌ |
| Risk levels | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Cache descriptions | ✅ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ |
| Storage forecast | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Safe delete (Trash) | ✅ | ❌ removeItem | ❌ rm -rf | ❌ rm -rf | ❌ rm -rf | N/A | ❌ |
| Total cache paths | 74 | 6 | 50+ | 24 types | 42 modules | 0 | Unknown |
| Price | Free | Free | Free | Free | Free | $10 | $40/yr |
| Open source | ✅ MIT | ✅ GPL-3 | ✅ MIT | ✅ MIT | ✅ Apache-2 | ❌ | ❌ |
brew tap bysiber/cleardisk
brew trust bysiber/cleardisk
brew install --cask cleardiskThat's it. Homebrew handles everything, including the quarantine flag.
brew trust is required: recent Homebrew refuses to load casks from third-party taps until you explicitly trust them (Error: Refusing to load cask ... from untrusted tap). See Tap Trust.
Once installed, ClearDisk checks for signed updates automatically and can install them directly from Settings → Check for Updates. Homebrew is not required for subsequent updates.
git clone https://github.com/bysiber/cleardisk.git
cd cleardisk
bash scripts/build_app.sh
cp -R ClearDisk.app /Applications/
xattr -cr /Applications/ClearDisk.app
open /Applications/ClearDisk.appThat's it. Click the disk icon in your menu bar.
Source builds are ad-hoc signed, while downloadable releases are Developer ID signed and notarized. The app is fully open-source, so every part of the update and cleanup flow can be inspected.
Requires macOS 14+ (Apple Silicon and Intel). Release builds are universal (arm64 + x86_64). Xcode Command Line Tools needed for building from source (xcode-select --install).
ClearDisk refreshes free disk capacity every 5 minutes and scans known developer cache directories every 30 minutes:
~/Library/Developer/Xcode/DerivedData → 🟢 Safe ~/Library/Developer/Xcode/Archives → 🟡 Caution ~/Library/Developer/CoreSimulator/Devices → 🟡 Caution ~/Library/Developer/Xcode/Products → 🟢 Safe ~/Library/Developer/Xcode/iOS DeviceSupport → 🟢 Safe ~/Library/Logs/CoreSimulator → 🟢 Safe ~/Library/Developer/Xcode/UserData/Previews → 🟢 Safe ~/Library/Developer/CoreSimulator/Caches → 🟢 Safe ~/Library/Caches/org.swift.swiftpm → 🟢 Safe ~/Library/Caches/CocoaPods → 🟢 Safe ~/Library/Caches/Homebrew → 🟢 Safe ~/.npm/_cacache → 🟢 Safe ~/Library/pnpm/store → 🟢 Safe ~/.bun/install/cache → 🟢 Safe ~/Library/Caches/pip → 🟢 Safe ~/.conda/pkgs → 🟢 Safe ~/.gradle/caches → 🟢 Safe ~/.m2/repository → 🟢 Safe ~/.android/avd → 🟡 Caution ~/Library/Containers/com.docker.docker → 🔴 Risky ~/.pub-cache → 🟢 Safe ~/.cache/JetBrains → 🟢 Safe ~/.gem → 🟢 Safe ~/.deno → 🟢 Safe ~/.cache/uv → 🟢 Safe ~/Library/Caches/ms-playwright → 🟢 Safe ~/.cache/huggingface → 🟡 Caution ...and more
It only looks at these specific paths — no full disk scan, no file indexing, no background processes.
When you clean, files are moved to Trash (not permanently deleted). You can recover them anytime before emptying Trash.
Issues and PRs welcome. See CONTRIBUTING.md for details.
How much disk space can ClearDisk recover?Typically 50-200 GB for active developers. Xcode DerivedData alone can grow to 80+ GB. Add node_modules, Docker images, and package manager caches and it's common to find 100+ GB of reclaimable space.
Is it safe to clean these caches?Yes. All cleaned files are moved to Trash first -- nothing is permanently deleted. Xcode will rebuild DerivedData on next build. Package managers (npm, pip, Homebrew) will re-download packages when needed. ClearDisk also shows risk levels (Safe/Caution/Risky) for each cache type.
What's the difference between ClearDisk and CleanMyMac?CleanMyMac ($40/yr) is a general-purpose Mac cleaner. ClearDisk is free, open-source, and specifically designed for developer caches (Xcode, npm, Docker, Cargo, Gradle, etc.). ClearDisk lives in your menu bar for quick access and shows real-time storage forecasts.
Does ClearDisk work on Intel Macs?Yes. ClearDisk requires macOS 14+ (Sonoma) and ships as a universal binary for both Apple Silicon and Intel Macs.
How do I clean Xcode DerivedData?With ClearDisk installed, click the menu bar icon and you'll see DerivedData size. Click "Clean" to move it to Trash. Manually: rm -rf ~/Library/Developer/Xcode/DerivedData/*
How do I find and delete old node_modules?ClearDisk scans for node_modules in common project directories automatically. You can also use the manual command: find ~ -name "node_modules" -type d -prune | xargs du -sh | sort -hr
MIT -- Kadir Can Ozden
| Back | FazBrowse Home | New Git URL |