Kondo is a tool that recursively scans directories to find and clean build artifacts from various project types (e.g., Cargo, Node, Maven, Python, etc.).
Basic Usage
Run kondo in a directory to scan the current directory and its subdirectories for projects to clean.
Common Commands
- Dry Run: List directories that would be cleaned without actually deleting anything.
kondo --dry-run or kondo -n - Clean All: Clean all found projects automatically without prompting for confirmation.
kondo --all or kondo -a - Quiet Mode: Suppress output. Use
-q for minimal output or -qq to prevent all output (note: -q requires --all). - Filter by Age: Only look at projects that haven't been modified for a certain amount of time. Use the
--older flag with a time unit (e.g., 20d for 20 days).
Supported Project Types
Kondo supports a wide range of ecosystems including: Cargo, Node, Unity, SBT, Haskell Stack, Maven, Unreal Engine, Jupyter Notebook, Python, CMake, Composer, Pub, Elixir, Swift, Gradle, and .NET.