01A Confession and an Apology
Dear CleanMyMac,
We had a good run. Years of you cheerfully spinning that progress wheel, scanning my system, and reminding me I had 4.7 GB of "system junk" to remove. I dutifully clicked that big blue Clean button, felt a brief dopamine hit of digital tidiness, and handed over my annual subscription fee. Every year.
Then I tried Mole, a free, open-source alternative.
I'm sorry you had to find out this way.
02The $40/Year Itch
What bothered me about paying for Mac cleaning software was this: you're paying a recurring subscription to delete cache files.
CleanMyMac X runs about $40/year. AppCleaner is free but limited. DaisyDisk is a one-time $10 but only does disk analysis. iStat Menus is another $12/year for system monitoring. If you want the full suite of "keep my Mac healthy" tools, you're looking at $50-60 annually for what amounts to a handful of rm -rf commands wrapped in a pretty GUI.
I like CleanMyMac's interface. For the tasks I used it for, though, I wanted to see whether a command-line tool could do enough to replace it.
Turns out, someone finally made that easy.
03Enter Mole
Mole is an open-source, MIT-licensed command-line tool created by tw93 (the developer behind the popular Pake tool). It has over 40,000 GitHub stars and brings these cleaning and monitoring functions into one tool:
| Paid App | Cost | Mole Equivalent |
|---|---|---|
| CleanMyMac X | ~$40/year | mo clean |
| AppCleaner | Free (limited) | mo uninstall |
| DaisyDisk | $10 | mo analyze |
| iStat Menus | ~$12/year | mo status |
Installation is dead simple:
brew install mole
I installed it through Homebrew and could start using it from the terminal.
04The Four Commands That Replace Everything
1. mo clean, The Cache Assassin
This is the big one. Run mo clean and Mole scans your system for caches, logs, temporary files, and browser leftovers. In my first run, it identified 38 GB of reclaimable space. Thirty-eight gigabytes. On a machine I thought was relatively clean because CleanMyMac had been "maintaining" it.
I started with dry-run mode:
mo clean --dry-run
This shows you exactly what will be deleted before anything is touched. No surprises, no "oops, that was important." You can also whitelist directories you want to protect, something CleanMyMac buries three menus deep.
For developers specifically, Mole includes a purge feature that targets build artifacts: node_modules, Rust target directories, Python __pycache__, and similar space hogs that accumulate across projects. If you've ever run du -sh */node_modules across your dev folder and cried. This is your therapy.
2. mo uninstall, The App Exorcist
Dragging an app to the Trash on macOS leaves behind a graveyard of preference files, launch agents, caches, and hidden remnants scattered across ~/Library. AppCleaner handles this decently, but Mole goes further. It can even detect and clean up remnants from apps you've already uninstalled.
mo uninstall Slack
It finds the app binary, preferences in ~/Library/Preferences, caches in ~/Library/Caches, application support files, launch agents, containers, everything. Then it asks you to confirm before removal. Clean, thorough, respectful.
3. mo analyze, The Disk Detective
DaisyDisk is a beautiful app. I'll give it that. Its sunburst visualization is genuinely delightful. But Mole's mo analyze gives you the same hierarchical breakdown of disk usage in your terminal, with interactive navigation to drill into directories.
mo analyze ~/Development
For a developer who lives in the terminal anyway. This is actually faster than opening a GUI app, waiting for it to scan, and clicking through visualizations. I can pipe the output, script around it, and integrate it into my workflows.
4. mo status, The System Pulse
Real-time CPU, GPU, memory, disk, and network stats. Battery health. Thermal readings. Everything iStat Menus puts in your menu bar, Mole puts in your terminal.
mo status
Is it as pretty as iStat Menus' custom menu bar widgets? No. Does it give me the same information without a subscription? Yes. For the 90% of the time I check system stats (usually when something feels slow), the terminal output is more than sufficient.
05Why Open Source Wins Here
The source code and command-line interface are as useful to me as the savings.
Transparency. When CleanMyMac says "system junk," what exactly is it deleting? You're trusting a closed-source app with deep system access to make those decisions. With Mole, the code is right there on GitHub. Every deletion path, every safety check, every decision boundary: auditable.
No dark patterns. CleanMyMac's business model depends on making you feel like your Mac is always dirty. Those dramatic progress bars. The satisfying animations. The persistent notifications. Mole has no incentive to exaggerate. I prefer being able to inspect what the cleanup command will do.
Automation-friendly. Because Mole is a CLI tool, it plays nicely with scripts, cron jobs, and automation workflows. You can set up a weekly cleanup with a simple crontab entry:
# Weekly cleanup every Sunday at 3am
0 3 * * 0 mo clean --auto-confirm >> ~/.config/mole/operations.log
Try doing that with CleanMyMac.
JSON output. For the data nerds among us, Mole can output results in JSON format, making it trivial to build dashboards, track disk usage over time, or integrate with monitoring systems.
06Where I Would Still Choose a GUI
Mole has limits:
- No GUI. If you're not comfortable in the terminal, Mole isn't for you. CleanMyMac's interface is genuinely excellent for non-technical users.
- No malware scanning. CleanMyMac includes basic malware detection. Mole is strictly a cleaning and monitoring tool.
- No automatic maintenance schedules out of the box (though you can set these up yourself with cron, as shown above).
- Less hand-holding. CleanMyMac walks you through everything with tooltips and explanations. Mole assumes you know what a cache directory is.
If you're buying CleanMyMac for a family member who calls you when their dock disappears, keep buying CleanMyMac. For my own terminal-based workflow, Mole is a good fit.
07The Bigger Picture
Mole is part of a broader trend I've been watching: open-source tools reaching feature parity with polished commercial alternatives at an accelerating rate. We saw it with VS Code vs. Sublime/WebStorm. We saw it with Bitwarden vs. 1Password. Now we're seeing it in system utilities.
The open-source ecosystem is eating away at the "convenience tax" that commercial software has long relied on. When a single developer can ship a tool with 40K+ GitHub stars that replaces four paid apps, it says something about where the leverage is shifting.
I like having a maintenance tool I can inspect and use in scripts alongside my other development tools.
08Getting Started
If you want to give Mole a spin:
# Install
brew install mole
# See what's eating your disk (safe, read-only)
mo analyze
# Preview what can be cleaned (nothing deleted)
mo clean --dry-run
# Check system health
mo status
# When you're ready, actually clean
mo clean
Start with --dry-run and review the proposed deletions before allowing a cleanup.
For now, Mole covers the maintenance tasks I need without another subscription.
Have you tried Mole or other open-source alternatives to commercial Mac utilities? I'd love to hear about your experience in the comments below.