Kondo: shrinking your projects folder

As you gather more dev projects on your disk and keep recompiling stuff, a lot of artefacts and dependencies tend to accumulate and take up disk space. Kondo is a useful tool to clean all those in one fell swoop. It can delete node_modules folders or rust target directories and more. Just run it over your projects dir, confirm everything review what it finds, and suddenly you I have a new 100gb of disk space!

If you’re running nixos with comma, you don’t even really need to install it to use it.

Run , kondo ~/repos/ and you’re good!