TL;DR — Quick Summary
kondo finds and cleans build artifacts across your projects. node_modules, target/, build/, .gradle — reclaim gigabytes of disk space with one command.
kondo cleans build artifacts. node_modules, target/, .gradle — reclaim gigabytes of wasted disk space.
Installation
# macOS
brew install kondo
# Arch Linux
sudo pacman -S kondo
# Cargo
cargo install kondo
Usage
# Scan current directory (interactive)
kondo
# Scan specific path
kondo ~/projects
# Non-interactive (clean all found artifacts)
kondo --all ~/projects
# Older than N days
kondo --older 30 ~/projects
# Dry run
kondo --dry-run ~/projects
Supported Project Types
| Language | Directory |
|---|---|
| Rust | target/ |
| Node.js | node_modules/ |
| Python | __pycache__/ |
| Java | .gradle/, build/ |
| C# | bin/, obj/ |
| Go | vendor/ |
| C/C++ | build/ |
| Haskell | .stack-work/ |
Summary
- kondo finds and cleans build artifacts across all project types
- Reclaim 10-50 GB on a typical developer machine
- Interactive or non-interactive modes
- Age filter: clean only artifacts older than N days
- Written in Rust — fast recursive scan, cross-platform