System health, at a glance
CPU, memory, swap, disk, thermal — colour-coded, instant.
A tiny, opinionated CLI for macOS developers. Hunts down resource hogs, scans 50+ cache locations across every dev stack you touch, and reclaims gigabytes in one pass. Pure bash. Zero dependencies. No Electron.
$ brew install knowamit/tap/macoptimize
No Homebrew? one-line installer · release notes
Every dev tool you install scatters cache files across your disk. macoptimize knows where they hide, shows the damage, and cleans per-item or in bulk.
$ macoptimize cache --report ━━━ Cache Scanner ━━━ [node] npm cache 2.30G ~/.npm/_cacache [node] pnpm store 1.63G ~/Library/pnpm/store [node] Bun install cache 726.0M ~/.bun/install/cache [node] Playwright browsers 1.02G ~/Library/Caches/ms-playwright [python] Conda packages 3.40G ~/miniconda3/pkgs [python] HuggingFace cache 12.1G ~/.cache/huggingface [rust] Cargo registry 842.0M ~/.cargo/registry [mobile] Xcode DerivedData 8.7G ~/Library/Developer/Xcode/DerivedData [mobile] Gradle caches 4.2G ~/.gradle/caches [ide] JetBrains caches 699.3M ~/Library/Caches/JetBrains [system] Homebrew downloads 1009.9M ~/Library/Caches/Homebrew [browser] Chrome cache 2.95G ~/Library/Caches/Google/Chrome ℹ Found 26 caches totalling 52.78G
CPU, memory, swap, disk, thermal — colour-coded, instant.
Surfaces processes pinning CPU or eating RAM you'd never notice.
Refreshes every 3 seconds. Tiny terminal window, full picture.
Find what's eating your SSD. Browse and delete with arrow keys.
Cleans up orphaned webpack, vite, metro, expo. RAM returns.
DNS flush, Spotlight reindex, animation speed. Nothing destructive.