Disk Cleanup Terminal Tools

Disk cleanup is the work of finding what is consuming storage and removing it: duplicate files, build artifacts, package manager caches, old container images and logs that were never rotated.

 

These tools scan for duplicates by content hash, sweep the caches left behind by language toolchains and package managers, or replace rm with a command that moves files to the trash so a deletion can be undone. Most print what they intend to remove before removing it. They pair with the disk usage tools, which do the measuring first.

 

Below is a list of terminal tools that free up disk space.

11 tools
Know any terminal tools that would be good for this list? Post a Tool here!

Get Updates On Terminal Trove.

No spam, just updates on Terminal Trove. See an example update.