Developer Tools8 min read

CleanMyMac Is Going to Hate Me for Writing This

I spent years paying for Mac cleaning tools until I discovered Mole — a free, open-source CLI that replaces CleanMyMac, AppCleaner, DaisyDisk, and iStat Menus in a single binary.

A 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. Single. Year.

But then I found someone else. Someone open-source. Someone free. Someone named Mole.

I'm sorry you had to find out this way.

The $40/Year Itch

Let's talk about what's been quietly bothering every developer who pays for Mac cleaning software: 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'm not saying those tools aren't polished — they absolutely are. CleanMyMac's interface is gorgeous. But as a developer, there's always been this nagging voice: "You know you could do this yourself, right?"

Turns out, someone finally made that easy.

Enter Mole

Mole is an open-source, MIT-licensed command-line tool created by tw93 (the developer behind the popular Pake tool). With over 40,000 GitHub stars, it's not some obscure weekend project — it's a legitimate, actively maintained tool that consolidates four paid apps into one:

Paid AppCostMole Equivalent
CleanMyMac X~$40/yearmo clean
AppCleanerFree (limited)mo uninstall
DaisyDisk$10mo analyze
iStat Menus~$12/yearmo status

Installation is dead simple:

brew install mole

That's it. No DMG to mount, no app to drag into Applications, no license key to fish out of your email. Just Homebrew doing what Homebrew does best.

The 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.

The killer feature? 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.

Why Open Source Wins Here

This isn't just about saving $50/year. It's about something more fundamental.

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 — it's a tool, not a product.

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.

The Honest Drawbacks

I'd be doing you a disservice if I didn't mention the trade-offs:

  • 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. But if you're a developer reading a technical blog? You don't need the training wheels.

The 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.

For developers, this should feel empowering. The tools we use to maintain our machines can be just as open, auditable, and composable as the code we write on them.

Getting 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. Always start with --dry-run. Then, once you trust it — and you will — let it do its thing.

Your Mac will thank you. Your wallet will thank you. CleanMyMac will send you a passive-aggressive "We miss you!" email.

Worth it.


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.

Abraham Jeyaraj

Written by Abraham Jeyaraj

AI-Powered Solutions Architect with 20+ years of experience in enterprise software development.

Comments