CleanMate

Every feature of CleanMate for macOS

What each module finds, what it removes and how it stays safe. Regenerable data (caches, logs, developer junk) is deleted; your files, apps and anything you might want back go to the Trash. Nothing is removed until you confirm.

Describes CleanMate 1.12 for macOS 13 or later.

Looking for a free CleanMyMac alternative? See how CleanMate compares, feature by feature.

Comparing free CleanMyMac alternatives? See CleanMate, Pearcleaner, AppCleaner and OnyX side by side.

Looking for a free DaisyDisk alternative? See how Space Lens compares, feature by feature.

Weighing OnyX against CleanMate? See what each one does, feature by feature.

Looking for a free CCleaner for Mac alternative? See how CleanMate compares, feature by feature.

Looking for an AppCleaner alternative? See how CleanMate’s Uninstaller compares.

Looking for a Pearcleaner alternative that is still updated? See how CleanMate compares.

Looking for a free BuhoCleaner alternative? See how CleanMate compares, feature by feature.

Looking for a free MacCleaner Pro alternative? See how CleanMate compares, feature by feature.

What's new

Overview

The page CleanMate opens on. It only shows, it never removes anything.

Drives
Free space on the startup disk and each external drive, with a bar that turns orange past 90 % full.
Free space over time
A 30-day chart of free space and where it is heading, recorded once a day on your Mac only.
Freed by CleanMate
Three cards (last 30 days, in total, last cleanup) above a bar per day for the last 30 days; items moved to the Trash are not counted.
Largest folders in your home
The 12 biggest folders, hidden ones included; click one to open it in Space Lens.
System protection
Whether Gatekeeper, the firewall, System Integrity Protection and FileVault are on, and the XProtect version. Read with the tools macOS ships; CleanMate never changes them.
Suggestions and Scan Now
Opens instantly and suggests up to 5 places to free space next, with your last Smart Scan and a Scan Now button.

Smart Scan › System

One scan for system junk, developer junk, AI tool data and app caches. These are the system items.

Review before cleaning
Smart Scan and Privacy open a review with sizes and what goes to the Trash or is deleted; every item has a Why is this safe? button, and ⌘F searches the results.
User caches
App caches in ~/Library/Caches, rebuilt by the apps; the cache of an app that is running, or a file another process has open, is skipped.
App Store app and app group caches
Caches inside sandboxed apps’ containers and Group Containers (Office…), with Full Disk Access; never Apple’s or a running app’s.
Mail attachments
Copies of attachments you opened in Mail, older than the logs age; not ticked, moved to the Trash, only while Mail is closed.
iPhone and iPad backups
Finder backups, each with its device name and date and its own checkbox; not ticked, moved to the Trash, skipped while a backup runs.
iOS and iPadOS updates
Downloaded .ipsw files, each with its device and version; not ticked, moved to the Trash.
Old installers
.dmg, .pkg, .iso, .xip and app zips in Downloads older than 30 days (you choose the age); not ticked, moved to the Trash, mounted or still downloading files skipped.
Old downloads
Files and folders in Downloads you have not opened or changed for 90 days; not ticked, moved to the Trash, dates checked again right before the move.
Old screenshots
Screenshots and screen recordings in the folder macOS saves them to, untouched for as long; not ticked, moved to the Trash.
Abandoned downloads
Unfinished .crdownload, .part, .download, .aria2 and .!qB files untouched for 7 days; not ticked, moved to the Trash, a download still running is kept.
Old logs, crash reports and temporary files
Only older than the age you set; a file a process has open is never removed.
macOS installers
Install macOS apps left in Applications after an upgrade (12–15 GB each), each with its macOS version; not ticked, moved to the Trash, skipped while an installer runs.
Trash
Your Trash and the Trash on each external drive, each its own row; not ticked.
Smart Scan on a Mac listing system and developer junk with sizesSmart Scan on a Mac listing system and developer junk with sizes

More about Smart Scan, on Mac and Ubuntu

Smart Scan › Developer junk

Build products, package caches and toolchains that pile up on a developer’s Mac. When a tool has its own clean command, CleanMate runs it.

Xcode
DerivedData (each project on its own), device support (each iOS version), old archives (to the Trash), simulators, Previews simulators and caches, old simulator runtimes, documentation cache and device logs; skipped while Xcode runs.
Simulator data and test device clones
Each simulator on its own row with its OS, size and last use, erased only if you tick it; the simulator copies parallel tests leave in XCTestDevices, each clone on its own. Not ticked. Flutter, React Native and the iOS Simulator filling your Mac
Package caches
SwiftPM, CocoaPods, npm, Yarn, pnpm, Bun, pip, uv, Go, Cargo, Gradle, Maven, Homebrew, Composer, conda archives, Deno, Zig, Bazel, ccache, sccache, NuGet, Poetry, pre-commit, pipx run, Julia, Conan 2, Expo, Hex, PlatformIO, Arduino downloads, old Godot export templates, the Python versions uv installed and more, each its own item, skipped while that tool runs. CocoaPods spec repo clones are their own item. Python caches: pip, conda and uv Clear the npm, Yarn, pnpm and Bun cache
Stale node_modules
node_modules of JavaScript projects untouched for 90 days, each project on its own; not ticked, moved to the Trash, so npm install brings it back.
Stale build folders
Cargo target, Python .venv and CocoaPods Pods of projects idle for 90 days; not ticked, moved to the Trash.
Unused Homebrew dependencies
Formulae left over from formulae you uninstalled, as brew autoremove lists them; not ticked.
Downloaded tools and models
Puppeteer, Playwright and Cypress browsers, Prisma engines and Hugging Face models, each model on its own; the login token is never touched.
Old runtime versions
Node.js (nvm), Flutter (fvm), Python (pyenv), Ruby (rbenv), Rust toolchains and Go SDKs other than the one you use, each version on its own; not ticked.
Android emulator
Quick-boot snapshots and system images no virtual device uses; not ticked, skipped while the emulator or Android Studio runs.
Old Android SDK components
NDK, build tools, SDK platform and CMake versions an SDK update leaves behind, one row per version; the newest and any version a project pins are kept. Not ticked, skipped while Android Studio, Gradle or the emulator runs.
Old code editor extension versions
Versions VS Code, VS Code Insiders, VSCodium, Cursor and Windsurf leave behind when an extension updates, one row per extension; the version in use is never listed. Not ticked, skipped while the editor runs.
Old JetBrains and Android Studio versions
Settings, caches and logs an IDE upgrade leaves behind, never the newest version; not ticked, moved to the Trash.
Docker, OrbStack and Firebase CLI
Docker build cache, untagged images, unused images, stopped containers and unused volumes (local daemon only, most not ticked); OrbStack caches and logs; Firebase CLI debug logs and emulators.
Forgotten desktop VMs
Colima, Lima, Podman, minikube and Rancher Desktop virtual machines you no longer use, often tens of GB.

More about developer junk, on Mac and Ubuntu

Smart Scan › AI tools

Caches, logs and old sessions of Claude Code, Claude Desktop, Codex, Gemini CLI / Antigravity, Cursor, Windsurf, Zed, Orca, ZCode, Copilot CLI, Continue, opencode, Kilo Code, MiMoCode and Cline.

Old sessions
Sessions older than the age you set, each one tickable on its own and named after its project; moved to the Trash, skipped while that tool runs.
Caches and logs
What each AI tool or editor rebuilds by itself; sign-ins, settings, skills and memory are never touched.
Ollama and LM Studio models
Each model by name with its date and size; never ticked. Removing an Ollama model works like ollama rm, and an interrupted download is its own row. Where AI models are stored and how to remove them
PyTorch, Whisper, sentence-transformers and Keras models
Model files Python libraries downloaded, each on its own; not ticked, downloaded again when needed.

More about AI models, on Mac and Ubuntu

Smart Scan › Apps

Caches of the apps you use every day, skipped while the app runs.

Browser and app caches
Safari, Chrome, Edge, Brave (every channel), Dia, Zen, Orion, DuckDuckGo, Comet, Chromium, Opera GX, VS Code, Telegram, Spotify, Zoom, Microsoft and more.
Chat and creative app caches
Caches of Zalo, Canva, Teams, WhatsApp, Slack, Discord, Signal, Notion, Figma, Postman and Obsidian; your messages, files and sign-ins stay put.
Code editors: data of deleted projects
What VS Code, VSCodium, Cursor and Windsurf keep for projects that no longer exist; moved to the Trash.
Browser on-device AI models
Chrome’s and Edge’s built-in AI models; not ticked, the browser downloads them again when an AI feature is used.
Adobe media cache
The cache Premiere Pro, After Effects, Media Encoder and Audition share, often tens of GB; not ticked.
Final Cut Pro and iMovie render files
Render files inside your libraries, one row per library; the apps render them again.
Google Drive, Dropbox and OneDrive caches
Local caches and logs besides your synced files; not ticked, a file still waiting to upload is kept.
Google Updater
Downloaded update packages; the updater itself and its settings stay.
Downloaded app updates
Old Zoom installers, the Microsoft AutoUpdate cache and the updates apps using Sparkle leave in their cache, one row per app; an open app keeps its files.
Podcasts, Telegram and Spotify
Apple Podcasts downloaded episodes and cache, Telegram media cache and Spotify stream cache; not ticked, skipped while the app runs. Subscriptions, chats and sign-ins are never touched.
Game launchers
Web caches, library artwork, update manifests, logs, crash dumps and shader caches of Steam, Epic Games Launcher, Battle.net and GOG Galaxy (0.5–3 GB with Steam); ticked, skipped while the launcher runs. Games, downloads in progress, saves, settings and sign-ins are never touched.
Minecraft and Prism Launcher
Logs, crash reports and web caches, including each Prism instance’s logs and crash reports; ticked, skipped while the launcher runs. Worlds, mods, resource packs, screenshots, settings and accounts are never touched.

Privacy

Clears traces of what you did, per browser and for the system. Nothing is ticked until you choose it.

Browsers
Browsing history, download history, cookies and autofill of Safari, Chrome, Edge, Brave, Arc, Opera, Opera GX, Vivaldi, Chromium, Dia, Comet, Zen and Firefox, and cookies of Orion, each its own group and skipped while it runs; bookmarks and passwords are kept.
System
Recent items (each app’s Open Recent list on its own row), Quick Look thumbnails, download history macOS keeps (Gatekeeper), Terminal and iTerm2 saved state, and shell, REPL, less and Vim history. Delete recent files, history and app traces
Privacy module listing browser data per browserPrivacy module listing browser data per browser

More about Privacy, on Mac and Ubuntu

Large & Old Files

Find big or forgotten files in your home folder, Downloads, Desktop, Documents, a folder you pick or an external drive.

Filters
Files from 50 MB (or 1 MB and 10 MB in a folder you pick), filtered by size, last use and kind: video, archive, disk image, installer… nine kinds with icons, and every file opens or previews, in Duplicates and Similar Photos too.
Duplicate Files
A choice in the Kind menu: it searches your whole home folder (or the folder or drive you picked) in seconds for files with an identical copy, from 1 MB (100 KB, 10 MB or 50 MB in the Size menu), compared by content (SHA-256) and shown in groups. Select All but Suggested ticks every copy except the one suggested to keep (the copy outside Downloads, then the oldest) and never an APFS clone; Stop keeps what it found.
Similar Photos
Groups photos that look alike, like bursts and edited copies, and suggests which to keep. Nothing is ticked for you, and it all runs on your Mac.
Safe removal
Only what you tick, only to the Trash (on an external drive, to that drive’s Trash), with Undo.
iCloud Drive: Remove Download
With Full Disk Access, downloaded iCloud Drive files carry an iCloud label. Remove Download frees a file’s space on this Mac and keeps it in iCloud Drive; it downloads again when opened. Files not uploaded yet, syncing or in conflict are locked.
Large and old files sorted by size, with filtersLarge and old files sorted by size, with filters

More about duplicates and similar photos, on Mac and Ubuntu

Uninstaller

Remove apps together with the files they leave in your Library and the system Library, and find what removed apps left behind.

Apps and their data
Apps in /Applications and ~/Applications with their Application Support, caches, preferences and containers; the app and its data go to the Trash, with Undo. Open apps are skipped.
Files in the system Library
Launch agents and daemons, privileged helper tools and the app’s items in /Library/Application Support, Caches, Logs and Preferences, matched by bundle id. Finder moves them to the Trash after one administrator password prompt; an app owned by root goes the same way.
Several apps at once
Tick several apps, for example everything Not Used for a Year, and uninstall them with one confirmation; one Undo puts everything back.
Reset
Moves an app’s own data to the Trash and keeps the app, so it starts fresh without reinstalling; with Undo.
Running apps
Each app shows where it came from; Quit and Uninstall… quits a running app first, and Reset… works on open apps too.
Homebrew casks
Apps installed with brew install --cask are marked; uninstalling one also runs brew uninstall --cask so Homebrew forgets it.
Leftovers
Data of apps you already deleted, including folders in ~/.config and ~/.local no installed app or tool is named after; never ticked.
Extensions
Preference panes, Quick Look plug-ins, services, screen savers, input methods, Spotlight importers and audio plug-ins (Audio Units, HAL drivers, VST, VST3) in your Library and /Library, with their bundle id and size, marked App removed when their app is gone. Ones in /Library go to the Trash through Finder after one administrator password prompt; uninstalling an app also takes its own plug-ins.
Uninstaller showing an app and the data that belongs to itUninstaller showing an app and the data that belongs to it

More about the Uninstaller, on Mac and Ubuntu

Space Lens

See what fills any folder or drive, biggest first, with a chart of its contents.

Browse by size
Drill down folder by folder, search by name and preview with Quick Look. Messages taking up space Photos Library taking up space
Move to the Trash
Items in your home folder or on an external drive go to the Trash after a confirmation, with Undo.
From the whole disk
Start from the whole startup disk instead of your home folder, and Show Hidden Files (⇧⌘.) hides or shows dotfiles.
Space Lens chart of a home folder by sizeSpace Lens chart of a home folder by size

Compare: Space Lens vs DaisyDisk, GrandPerspective, Baobab and Filelight

More about Space Lens, on Mac and Ubuntu

Moved to the Trash

Everything CleanMate has moved to the Trash, from any module, still there or not.

Put back one or all
Search what was moved and put items back one by one or all at once; while an item is still in the Trash, its space is not freed yet.

Login Items

Your launch agents and the third-party agents and daemons in /Library, with the app each belongs to and whether it runs.

Disable, enable or remove
Removing moves the agent’s file to the Trash. CleanMate checks the agent again right before and refuses if it changed; Apple’s agents are never listed. Startup apps and login items
Agents and daemons in /Library
Updaters and helpers apps install for every user, also ones left by removed apps, each with its app, Running when its program runs and App Removed when its app is gone. Remove…: Finder moves the file to the Trash after one administrator password prompt, and it stops starting after a restart; Put Back in the Trash restores it.
Login Items listing launch agents with their app and stateLogin Items listing launch agents with their app and state

More about startup items, on Mac and Ubuntu

Maintenance

Fixes Mac users run often, each with a Run button and the tool’s output.

Rebuild Launch Services
Removes duplicate and outdated apps from Open With menus.
Reset Quick Look
Restarts Quick Look and clears its thumbnail cache when previews are blank, wrong or slow.
Restart Finder and Dock
Asks first; macOS starts both again.
Update and Clean Homebrew
Runs brew update, upgrade (formulae only) and cleanup with the output live, then says what was upgraded and freed; no password.
Reset Font Cache and Clear Icon Cache
For text in the wrong font and wrong or blank icons in the Dock and Finder; no administrator password.
Time Machine local snapshots
Lists the snapshots on this Mac, with Delete for one or all after asking; backups on your Time Machine disk are not affected.

Settings and safety

Rules that apply to every module.

Undo
What a module moved to the Trash comes back with Undo (⌘Z) until CleanMate quits.
Exclusions
Folders and files you add are never listed or removed by any module.
Blocklist
Only your home and temporary folders; never .ssh, Keychains, Documents, Photos, Mail, Messages, passwords, sign-ins or AI memory. No administrator rights, no helper.
Remembered choices and scan groups
What you untick stays unticked; whole groups such as Developer junk can be switched off.
Menu bar, reminders and low-space warning
An optional menu bar item with free space, a weekly or monthly reminder to scan, and a warning when free space drops below 10 %.
Open at login and Menu bar only
Both off by default: CleanMate starts at login or lives only in the menu bar, so the low disk warning works without a window.
Shortcuts and Spotlight
Scan for junk, check free space or open any module from Shortcuts, Spotlight and Siri; nothing is cleaned until you confirm in CleanMate.
Stop and pick up where you left off
⌘. stops a clean, a move to the Trash or a Maintenance task; a clean that ends in the background sends a Freed notification, and CleanMate reopens on the module you used last with its window where it was.
Activity log
Every removed item is recorded and viewable in Settings › Activity.
Welcome guide and bug reports
A three-step guide on first launch (Help › Getting Started… opens it again); Help › Report a Bug… opens a GitHub issue filled in with your versions, without file paths or your user name.

Command line and AI agents

CleanMate.app includes cleanmate, a command with no window for scripts and AI agents such as Claude Code and Codex. It uses the same items, safety rules, Exclusions and Scan Groups as Smart Scan.

Commands
cleanmate list shows every item, cleanmate scan shows what Smart Scan would find now, and cleanmate clean removes it; similar groups look-alike photos, space opens Space Lens for a folder, trash lists what was moved, uninstall removes an app, privacy clears browsing traces, login-items lists launch agents. list and scan only read. Narrow them with --only, --group and --privacy; --dry-run previews a clean.
Machine-readable output
Add --json to get one JSON object: items, sizes in bytes, what is locked and why, and what was freed, moved to the Trash or kept. Colours appear only on a terminal.
Safe by default
Without a terminal, clean deletes nothing and exits with code 4 unless you pass --yes. Every path goes through the same safety checks and Exclusions as the app, and each clean is written to the activity log.
Install
Homebrew puts cleanmate on your PATH. Otherwise link CleanMate.app/Contents/Helpers/cleanmate into a folder on your PATH, such as ~/.local/bin. It never connects to the network.
Agent skill
An open Agent Skill teaches Claude Code, Codex, Cursor and other agents to scan first, show you the result and clean only the items you confirmed. Install it with: bunx skills add homielab/cleanmate-macos
Undo across sessions
cleanmate restore --list shows what CleanMate moved to the Trash and is still there, launch agents removed in Login Items included, newest first; cleanmate restore puts it back, never over a file that is there now.

Command line reference: every command, --json, exit codes and the Agent Skill

Get CleanMate

Free and open source (MIT). macOS 13 Ventura or later, Apple silicon and Intel.

Open source — star it on GitHub: CleanMate for macOS

Using Ubuntu? See every feature of CleanMate for Ubuntu.