Back to directory

Productivity & Utilities · System Cleanup & Optimization

Mole

Open source terminal cleanup and maintenance toolkit for Mac

Mole is an open source command line toolkit for cleaning macOS, uninstalling applications, analyzing disks, purging development artifacts, and monitoring system health. It uses GPL 3.0. The CLI is free and has no hosted service; a separate proprietary Mac app costs $19 once. Mole is a terminal first maintenance toolkit for macOS, created and maintained by tw93.

Key facts

License
GPL-3.0
Main language
Bash and Go
Maintainer
tw93
First released
2025
Latest release
V1.62.0, October 21, 2026
GitHub stars
72,254, October 2026
Hosted option
None for CLI; separate proprietary Mole Mac App, $19 one time

What Mole is

Mole is a terminal first maintenance toolkit for macOS, created and maintained by tw93. The repository describes the free CLI as deep cleaning, application removal, disk analysis, optimization, and live monitoring. It was created in 2025 and reached about 72,000 GitHub stars by October 22, 2026. XDA describes tw93 as the developer behind Pake and presents Mole as a lightweight alternative to paid Mac utilities. The repository also includes a Windows CLI and app, but the core identity remains the free macOS command line tool. Mole is an open source command line toolkit for cleaning macOS, uninstalling applications, analyzing disks, purging development artifacts, and monitoring system health.

How it works

The interactive mo command opens a menu, while subcommands support repeatable workflows. mo clean removes caches, logs, browser residue, and leftovers. mo uninstall finds applications and associated preferences, launch agents, and data. mo analyze presents a terminal disk explorer, mo purge finds old node_modules, target, build, dist, and virtual environment directories, and mo status displays live CPU, memory, disk, network, battery, and process data. Dry run previews, whitelists, history, JSON output, and protected paths provide control. Mole is an open source command line toolkit for cleaning macOS, uninstalling applications, analyzing disks, purging development artifacts, and monitoring system health. It uses GPL 3.0. The CLI is free and has no hosted service; a separate proprietary Mac app costs $19 once.

Architecture and recent releases

Mole combines Bash and Go, with shell scripts coordinating platform operations and Go helpers handling selected performance sensitive work. It has no database, web server, or hosted control plane. Homebrew installs the CLI, while the official script can place it in /usr/local/bin or a user prefix. The CLI requires macOS 12 or newer and supports Intel and Apple Silicon. V1.62.0, released October 21, 2026, added Apple Silicon slimming, safer uninstall prompts, broader cleaners, external drive corrections, and improved analysis. Mole is an open source command line toolkit for cleaning macOS, uninstalling applications, analyzing disks, purging development artifacts, and monitoring system health. It uses GPL 3.0.

License and pricing

The CLI is GPL 3.0, permitting commercial use, modification, and redistribution subject to license obligations. The separate Mole for Mac application is proprietary, costs $19 once, and includes free updates plus a 14 day refund. The CLI has no hosted edition, subscription, account requirement, or server dependency. This split matters for procurement: terminal users can inspect and run free code, while users wanting a native window, menu bar tools, fan controls, and visual workflows pay for the separate application. Mole is an open source command line toolkit for cleaning macOS, uninstalling applications, analyzing disks, purging development artifacts, and monitoring system health. It uses GPL 3.0.

Limitations and how it compares

Mole suits developers comfortable with Terminal, but it is less forgiving than a visual cleaner. XDA praised its broad command set and dry run workflow while noting its lack of malware scanning and polished visual interface. A 2025 code review described its shell heavy structure and lack of a general undo mechanism. CleanMyMac offers visual cleanup and support, AppCleaner focuses on uninstalling, and DaisyDisk is stronger for graphical storage discovery. Choose Mole for free, scriptable Mac maintenance; choose commercial software for guided recovery and support. Mole is an open source command line toolkit for cleaning macOS, uninstalling applications, analyzing disks, purging development artifacts, and monitoring system health.

Main features

  • Deep system cleaning. Removes caches, logs, browser residue, temporary data, and leftovers with review before deletion.
  • Application uninstaller. Finds applications and associated preferences, launch agents, caches, and personal data.
  • Interactive disk analyzer. Provides a terminal explorer with custom paths, JSON output, and Trash based deletion.
  • Developer artifact purge. Scans configured directories for old node_modules, target, build, dist, and virtual environments.
  • Live system dashboard. Reports CPU, memory, disk I/O, network, battery, thermals, and processes.

Self-hosting Mole

Mole needs no server, database, container, or hosted account. On macOS 12 or newer, install with brew install mole or the official script. The script normally uses /usr/local/bin, while a user prefix avoids repeated administrator prompts. Nix and a separate Windows installer are documented. Use mo update for stable upgrades and mo history for review. Back up important files because most cleanup actions have no general undo. Mole needs no server, database, container, or hosted account. On macOS 12 or newer, install with brew install mole or the official script. The script normally uses /usr/local/bin, while a user prefix avoids repeated administrator prompts. Nix and a separate Windows installer are documented. Use mo update for stable upgrades and mo history for review. Back up important files because most cleanup actions have no general undo.

Strengths

  • GPL code and dry runs make cleanup plans inspectable.
  • One CLI covers cleanup, uninstall, disk analysis, and developer artifacts.
  • JSON output and subcommands suit automation.
  • It supports Intel and Apple Silicon Macs.

Drawbacks

  • Terminal use excludes users wanting guided graphics.
  • There is no general undo mechanism.
  • The free CLI lacks malware scanning and dedicated support.

What teams replace with it

Teams usually evaluate Mole when they want to move off CleanMyMac, AppCleaner, DaisyDisk, iStat Menus.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Mole

  • AppCleaner
  • Czkawka
  • ncdu
  • GrandPerspective
  • Stacer

Frequently asked questions

Is Mole free?

The CLI is free and open source under GPL 3.0. The separate native Mac app is proprietary and costs $19 once. Mole is an open source command line toolkit for cleaning macOS, uninstalling applications, analyzing disks, purging development artifacts, and monitoring system health. It uses GPL 3.0.

Can businesses use Mole?

Yes. GPL 3.0 permits commercial use, modification, and redistribution subject to license obligations. Mole is an open source command line toolkit for cleaning macOS, uninstalling applications, analyzing disks, purging development artifacts, and monitoring system health. It uses GPL 3.0. The CLI is free and has no hosted service; a separate proprietary Mac app costs $19 once.

How do I install Mole?

On macOS 12 or newer, run brew install mole or use the official install script. Intel and Apple Silicon are supported. Mole is an open source command line toolkit for cleaning macOS, uninstalling applications, analyzing disks, purging development artifacts, and monitoring system health. It uses GPL 3.0.

How does Mole compare with CleanMyMac?

Mole offers free terminal cleanup, uninstalling, analysis, monitoring, and developer purging. CleanMyMac adds visual workflows, scanning, and support. Mole is an open source command line toolkit for cleaning macOS, uninstalling applications, analyzing disks, purging development artifacts, and monitoring system health. It uses GPL 3.0. The CLI is free and has no hosted service; a separate proprietary Mac app costs $19 once.

Is Mole safe?

Dry runs, protected paths, whitelists, and operation history reduce surprises, but cleanup remains destructive. Read previews and retain backups. Mole is an open source command line toolkit for cleaning macOS, uninstalling applications, analyzing disks, purging development artifacts, and monitoring system health. It uses GPL 3.0.

Similar projects to compare

Sources

Last updated 2026-10-22.