kondo icon indicating copy to clipboard operation
kondo copied to clipboard

Cleans dependencies and build artifacts from your projects.

Kondo ๐Ÿงน

Kondo Lints

Cleans unneeded directories and files from your system.

kondo gui

kondo command line

It will identify the disk space savings you would get from deleting temporary/unnecessary files from project directories, such as target from Cargo projects and node_modules from Node projects.

Supports:

Installation

Graphic User Interface

Packaging status

Windows and Mac builds are available on the Releases page as kondo-ui.

You can install kondo-ui via Cargo with cargo install kondo-ui. Note you'll still need druid's platform specific dependencies on mac and linux.

Command line

Packaging status

Windows, Mac, and Linux builds are available on the Releases page as kondo.

You can install kondo via homebrew with brew install kondo.

You can install kondo via Cargo with cargo install kondo.

Operation

Graphic User Interface

Launch kondo-ui, select a directory to be scanned, evaluate & clean directories as needed.

Command Line Interface

Running kondo without a directory specified will run in the current directory.

$ kondo

Supplying a path will tell kondo where to start. Multiple paths are supported.

$ kondo code/my_project code/my_project_2

Example Output

$ kondo ~/code
/Users/choc/code/unity Cargo project
  โ””โ”€ target (489.1KiB)
  delete above artifact directories? ([y]es, [n]o, [a]ll, [q]uit): y
  deleted 489.1KiB

/Users/choc/code/multiplayer-kit/generator Cargo project
  โ””โ”€ target (874.3KiB)
  delete above artifact directories? ([y]es, [n]o, [a]ll, [q]uit): n

/Users/choc/code/chat Cargo project
  โ””โ”€ target (37.2MiB)
  delete above artifact directories? ([y]es, [n]o, [a]ll, [q]uit): q

Total bytes deleted: 489.1KiB

Building/Development

To build kondo you can run cargo build from the projects root directory.

To build kondo-ui you must first navigate into the kondo-ui directory, then you can run cargo build.

Similar Projects