Scan, choose, and wipe stale caches from uv, Homebrew, mise, Docker, Cargo, Go, and 35+ other tools — all from a single terminal command.
A focused tool that does one thing well: get your disk space back.
uv, brew, mise, browsers, cargo, go, pip, npm, yarn, pnpm, docker, rustup, gradle, ollama, Xcode, and more.
Pick targets with spacebar, preview estimated freed space, then confirm — all without leaving the terminal.
Deleted files go to macOS Trash (Finder-restorable). Use --permanent to bypass.
Every clean command supports --dry-run to preview what would be removed before committing.
Versions pinned in ~/.config/mise/config.toml or any .mise.toml are never deleted.
Set defaults in ~/.config/sasurahime/config.toml for a zero-friction daily workflow.
Run sasurahime targets for the complete up-to-date list.
| Category | Targets |
|---|---|
| Language / Package managers | uvbrewbungopipnpmyarnpnpmpipxpoetrycondacargorustupdenogradlemavenspmcocoa-podsflutter |
| Runtimes / Tools | misebrowsersnode-gyp |
| Docker / VM | dockercolimaorbstack |
| IDE / Simulator | xcodedevice-supportsimulatorjetbrainsvscode-extensions |
| AI/ML / CI | huggingfaceollamaactpre-commit |
| Logs / Other | logslibrary-logsdownloadstrash |
From install to a clean disk in under a minute.
Run cargo install sasurahime or download a prebuilt binary from the releases page.
Run sasurahime scan to see a table of all detected caches and their sizes — no deletion happens.
Run sasurahime to enter interactive mode and pick what to wipe, or sasurahime --yes to clean everything at once.
Requires macOS (arm64 or x86_64) and Rust toolchain for the cargo install path.
sasurahime is named after a goddess from the Oharae-no-Kotoba (Great Purification Words) of Shinto tradition.
She receives impurities carried downstream — from river to sea to the underworld — and makes them vanish without a trace.
In other words: the ultimate destructor of stale caches.