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

LanguageDirectory
Rusttarget/
Node.jsnode_modules/
Python__pycache__/
Java.gradle/, build/
C#bin/, obj/
Govendor/
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