CleanMate

An uninstaller for Mac and Ubuntu that finds the leftovers

Dragging an app to the Trash, or running apt remove, removes the app and little else. CleanMate’s Uninstaller takes the app and the data it keeps in your home folder, and finds what apps you already removed left behind.

What an app leaves behind

On a Mac, an app is one icon in Applications, but its settings, caches and containers sit in ~/Library. Years of apps you tried once add up to gigabytes that no list shows you. On Ubuntu, removing a package keeps its configuration, and Snap, Flatpak and AppImage apps keep their data in your home folder.

The usual fix is to hunt for folders by hand, which is slow and risky: delete the wrong one and another app loses its settings. A good uninstaller has to know which folders belong to which app, and has to be able to undo a mistake.

How the Uninstaller works

  1. Pick the apps. The list shows each app with its real size and when you last used it. Tick one or many, for example everything you have not used for a year. Open apps are skipped.
  2. See what goes with each app. On a Mac, the app and its Application Support, caches, preferences and containers are listed together. On Ubuntu, the package is removed, and the app’s own folders are offered for the Trash afterwards.
  3. Confirm once. One confirmation covers all the ticked apps. On Ubuntu, removing an apt or Snap app asks for your password once. Removing something Ubuntu itself needs is refused.
  4. Undo, reset or clean leftovers later. Undo puts everything back. Reset keeps the app and moves only its data to the Trash, so it starts as if new. The Leftovers list finds data of apps you removed before, and nothing in it is ticked for you.
The Uninstaller on a Mac showing an app and the data that belongs to itThe Uninstaller on a Mac showing an app and the data that belongs to it
The Uninstaller on Ubuntu listing apps with their sizes and when each was last used

Where Mac and Ubuntu differ

macOS

The Mac app handles apps from /Applications and ~/Applications. Apps installed with Homebrew casks are marked, and removing one also runs brew uninstall --cask so Homebrew forgets it. It also lists extensions such as preference panes and Quick Look plug-ins, marked once their app is gone, and also finds the app’s launch agents, daemons, helper tools and other files in /Library, which Finder moves to the Trash after one administrator password prompt.

Ubuntu

The Ubuntu app lists apt, Snap and Flatpak apps and AppImage apps that have a launcher; an AppImage goes to the Trash without a password. Removing an apt or Snap app asks for your password once. The Uninstaller is in the desktop app and the terminal app, and needs the PPA or the .deb.

What keeps it safe

The same from the terminal

On a Mac the cleanmate command has an uninstall command. Ubuntu has no uninstall command in cm; use the Uninstaller in the desktop app or the terminal app.

SystemCommandWhat it does
macOScleanmate uninstall [--leftovers] [--json]Lists the apps the Uninstaller shows with the size of the app and of its data; with --leftovers, only what removed apps left behind.
macOScleanmate uninstall APP --dry-runShows what removing one app would move to the Trash, and moves nothing.
macOScleanmate uninstall APP [--quit] [--yes]Moves the app and its data in ~/Library to the Trash; never touches an open app unless you add --quit.
macOScleanmate restore --listLists what CleanMate moved to the Trash and is still there, so you can put it back.
Ubuntucm --guiOpens the desktop app. Running cm with no options opens the terminal app, which has the Uninstaller too. cm has no uninstall command for scripts.

Questions

Does it remove apps I installed with Homebrew?

Yes on a Mac. Homebrew casks are marked in the list, and uninstalling one also runs brew uninstall --cask, so brew no longer lists an app that is gone.

What is the difference between Reset and Uninstall?

Reset moves an app’s own data to the Trash and keeps the app, so it starts as if you had just installed it. Uninstall removes the app too. Both can be undone.

Can I remove an app that is open?

Not by default: open apps are skipped. On a Mac, Quit and Uninstall closes the app first, and Reset also works on an open app. On Ubuntu, Reset is refused while the app runs.

How do I find what apps I already deleted left behind?

Open Leftovers in the Uninstaller. It lists data no installed app uses any more, and nothing in it is ticked. On a Mac that includes folders in ~/.config and ~/.local that no app or tool is named after.

Does the Ubuntu Uninstaller remove system packages?

No. Removing something Ubuntu needs is refused, and running apps are skipped.

Get CleanMate

Free and open source. Review every item before it is removed.

Open source — star it on GitHub: CleanMate for macOS · CleanMate for Ubuntu