Download CleanMate
Free, open-source disk cleaner for macOS and Ubuntu. Preview every item before removal, verify packages with sha256, and inspect the source code anytime.
Also available for
CleanMate for macOS
Native SwiftUI app for macOS. Signed with an Apple Developer ID, notarized, and updates automatically via Sparkle.
Homebrew Cask
Or install it with Homebrew, which also puts the cleanmate command on your PATH:
brew install --cask homielab/tap/cleanmateSystem requirements & compatibility
- Operating system: macOS 13 Ventura or later (macOS 13, 14, 15+).
- Architecture: Universal binary: Apple silicon (M1/M2/M3/M4) and Intel (x86_64).
- Security & notarization: Signed with Developer ID (HomieLab) and notarized by Apple. Gatekeeper opens the app normally without warnings or needing "Open anyway". Hardened Runtime is enabled; App Sandbox is off so the cleaner can scan caches across your user directory.
Verify package integrity (sha256)
Each release includes a cryptographic .sha256 checksum file published alongside the .dmg on GitHub Releases. Verify your download using Terminal:
curl -fsSLO https://github.com/homielab/cleanmate-macos/releases/latest/download/CleanMate.dmg.sha256
shasum -a 256 -c CleanMate.dmg.sha256Automatic updates
CleanMate uses Sparkle 2 to check for updates against signed GitHub Releases appcasts. On the second launch, CleanMate asks whether you wish to enable automatic checks. You can toggle this setting anytime in Settings › General › Updates. Updates are verified with an EdDSA cryptographic signature prior to installation.
Also available for
CleanMate for Ubuntu
A GTK 4 desktop app and a terminal application (cm) that share a single battle-tested cleanup engine.
Option 1: Ubuntu PPA (recommended for Ubuntu 24.04 LTS, 26.04 LTS and 26.10)
Installs both the desktop app and the terminal command cm. Updates are delivered automatically through Ubuntu’s Software Updater:
sudo add-apt-repository ppa:homielab/cleanmate
sudo apt install cleanmateOption 2: Standalone install script (No sudo required)
Installs CleanMate entirely within your home folder (~/.local/bin/cm and Show Apps entry). Works on any Ubuntu distribution, including Ubuntu 22.04 LTS:
curl -fsSLO https://raw.githubusercontent.com/homielab/cleanmate-linux/main/cleanmate.sh
bash cleanmate.sh --installOption 3: Debian package (.deb)
Download the standalone deb package from GitHub Releases and install via App Center or apt:
sudo apt install ./cleanmate_*_all.debOption 4: Snap package
Not in the Snap Store yet: the .snap file comes with the GitHub release. Download it from the latest release, then run this in the folder you saved it to. A snap installed from a file is not updated automatically, so for updates prefer the PPA.
sudo snap install --classic --dangerous ./cleanmate_*.snapSupported Ubuntu versions
- Ubuntu 24.04 LTS: Full support for both the desktop app (GTK 4 / libadwaita) and the terminal app (cm) via PPA, .deb, or script.
- Ubuntu 26.04 LTS: Full support for both the desktop app (GTK 4 / libadwaita) and the terminal app (cm) via PPA, .deb, or script.
- Ubuntu 26.10: Full support for both the desktop app (GTK 4 / libadwaita) and the terminal app (cm) via PPA, .deb, or script.
- Ubuntu 22.04 LTS and older: Supports the terminal app (cm) via the install script. The desktop app requires Ubuntu 24.04 or later due to modern GTK 4 and libadwaita library dependencies.
- Other distributions & headless servers: The standalone terminal app (cm) runs without sudo in any environment with Bash 4+ and core utilities, including remote servers over SSH.
Desktop application vs Terminal application (cm)
- Desktop app: Modern GTK 4 and libadwaita interface designed for GNOME. Features visual charts for disk usage, Space Lens directory tree, and interactive cleanup confirmations.
- Terminal app (cm): Fast interactive terminal UI (TUI) with keyboard and mouse support, plus direct CLI flags for automation: cm --scan, cm --clean, cm --check.
Open source — star it on GitHub: CleanMate for macOS · CleanMate for Ubuntu