Command line
The kuizer commands for scanning, cleaning, caches, toolchains, Docker, git, duplicates, reports and history.
Running kuizer with no command opens the terminal UI on the current directory. Every command takes --json for machine-readable output and --config <PATH> to use another config file.
Commands
| Command | What it does |
|---|---|
kuizer scan [PATH]... | List artifacts and caches in projects |
kuizer clean [PATH]... | Remove them, after a confirmation |
kuizer cache | List and remove global tool caches |
kuizer toolchain [PATH]... | List and remove installed toolchain versions |
kuizer docker | List and remove unused Docker and Podman objects |
kuizer git [PATH]... | Pack loose git objects and delete merged branches |
kuizer duplicates [PATH]... | Find files with identical contents |
kuizer dashboard [PATH]... | Open a web overview of everything |
kuizer history | Show what kuizer deleted and the space it freed |
kuizer restore [ID]... | Put items from a past run back, for runs made with delete.mode = "trash" |
kuizer rules | List the active detection rules |
kuizer config | Show, create and validate the config file |
Scan
--report writes one HTML file with a zoomable treemap of every result, grouped by project, category or rule, and opens it in your browser. The file loads nothing from the network. --sort accepts size, path, category and idle.
Clean
--select takes safe, all or a rule name, and can repeat. The default is safe. --yes skips the confirmation. Deletion is permanent by default; delete.mode = "trash" in the config file moves project artifacts and global caches to the trash instead.
Caches, toolchains and Docker
A toolchain version that is a tool's default, or that a project under the given path pins in rust-toolchain.toml, .nvmrc, .node-version, .python-version, .sdkmanrc, .tool-versions, go.mod or the volta key of package.json, is marked review. Removal from toolchain and docker is always permanent.
Git
Repositories in the middle of a rebase, merge or another git command are skipped.
Duplicates
--verify compares matches byte by byte after the hash matches.
Dashboard
kuizer dashboard writes one HTML page with tabs for an overview with insights, project artifacts, a folder drill-down, global caches, duplicates and the deletion history. Use --no-duplicates to skip the duplicate search, which reads every file, and --out=<FILE> --no-open to write the page without opening it.