01Why I tried Mole

For years I've been using CleanMyMac. I'd run it every now and then, it would tell me I had something like 4.7 GB of junk on my system, and I would click Clean. I liked the convenience. But I started wondering whether I really needed to keep paying for it every year. That's when I tried Mole, which is free and open source.

02The annual subscription

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.

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

I installed it through Homebrew and could start using it from the terminal.

04Four commands I use

1. mo clean, The Cache Assassin

The first thing I tried was 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. I thought the machine was relatively clean because I had been using CleanMyMac.

I started with dry-run mode:

mo clean --dry-run

This shows you exactly what will be deleted before anything is touched. 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 have a lot of development projects, try running du -sh */node_modules across your development directory to see how much space those dependencies take up.

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.

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

Since I use the terminal a lot, I find this faster than opening a separate app and navigating its screens. 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 I prefer the open-source tool

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.

07Using Mole in my workflow

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.

What's interesting to me is that an open-source tool with over 40K GitHub stars can cover much of the functionality of four commercial utilities.

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.