Skip to main content

linux-cleanup and CleanMate

Last checked 2026-11-10 against CleanMate’s own page.

What it is: A macOS and Ubuntu cleaner with a desktop app, terminal app and review-before-removal flow.

Price there: Free: free (source, checked 2026-11-10). Here: the CLI is free under the MIT License; the desktop app's plans are on the pricing page.

linux-cleanupCleanMate
Command-line interfaceYesNot stated on the pages we checked
Preview before deletionYesYes (source)
Dry runYesNot stated on the pages we checked
Cache cleanupYesNot stated on the pages we checked
Duplicate-file findingPartlyNot stated on the pages we checked

Who is better served by CleanMate​

Choose CleanMate if you want its Ubuntu desktop app, Space Lens or Trash and undo flow for personal files.

Where linux-cleanup is ahead​

Choose linux-cleanup if you want a scriptable command line with a JSON event stream, and every real run written to a local JSON report.

Where to start here​

There is no import from one tool to the other: each keeps its own rules. To see what linux-cleanup would do on your computer, start with Preview first and run npx -y linux-cleanup --all-safe --yes --dry-run, which removes nothing.