First release of makleen, a lightweight CLI (~65 KB) that frees disk space on a developer's Mac. It scans, shows everything it found in a checklist, and cleans only what you tick.
What it finds
- Tool caches: 40+ of them, including npm, Bun, pnpm, Yarn, Go, Cargo, uv, pip, Gradle, CocoaPods, Xcode DerivedData, Homebrew, Docker, browsers, and VS Code, Cursor and JetBrains caches. Where a tool has its own clean command, makleen uses it.
- Build folders in idle projects:
node_modules,.next,target,Pods,.venvand more, but only in projects with no commit, checkout or build for 60 days, and only next to the file that produces them. - Leftovers of deleted apps: data in
~/Librarythat no installed app owns. These go to a quarantine you can restore from. - Optional extras: iOS simulators, Android emulators, unused Docker images, Ollama and Hugging Face models, old Node versions, Xcode archives and more. These start unticked.
Safety
- No
sudo, and nothing outside your home folder. - Nothing changes until you confirm the plan;
--dry-runshows it without cleaning. - Items that belong to a running app can't be selected.
- Every run that changes something writes a log of what it deleted, moved or ran.
Install
Needs macOS. makleen runs on the zsh that macOS ships, from whatever shell you use.
git clone https://github.com/decoded-cipher/makleen.git && cd makleen ./makleen --dry-run # see the plan, nothing changes ./makleen # pick, confirm, clean
See the README for the full list, configuration and adding your own caches.