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.

deletor
Manage & delete files efficiently with an interactive TUI & scriptable CLI.
Manage & delete files efficiently with an interactive TUI & scriptable CLI.

dskditto
An ultra fast and easy duplicate file finder.
An ultra fast and easy duplicate file finder.

fclones
Efficient duplicate file finder and remover.
Efficient duplicate file finder and remover.

gomi
Unix rm(1) command that can restore deleted files.
Unix rm(1) command that can restore deleted files.

gtrash
A featureful trash CLI manager.
A featureful trash CLI manager.

kondo
Cleans node_modules, target, build, and friends from your projects.
Cleans node_modules, target, build, and friends from your projects.

mac-cleanup-go
A preview first TUI for cleaning macOS caches, logs, and temporary files.
A preview first TUI for cleaning macOS caches, logs, and temporary files.

mcdu
A modern disk usage analyzer & developer cleanup tool with a TUI.
A modern disk usage analyzer & developer cleanup tool with a TUI.

mole
Deep clean and optimize your Mac.
Deep clean and optimize your Mac.

putzen
A safe cleaner for build and dependency artifacts with an interactive TUI.
A safe cleaner for build and dependency artifacts with an interactive TUI.

wiper
A TUI disk analyser and cleanup tool.
A TUI disk analyser and cleanup tool.
Know any terminal tools that would be good for this list? Post a Tool here!