Mole: The Ultimate macOS System Optimizer and Deep Cleaner
Mole: Deep Cleaning for Power Users
While many macOS “cleaning” apps focus on simple cache deletion with flashy interfaces, Mole takes a different approach. It is a powerful, developer-centric CLI (Command Line Interface) tool designed to deep clean and optimize macOS from the ground up.
If you are a developer or a power user who prefers the terminal, Mole provides a surgical way to reclaim disk space and keep your system running at peak performance.
Key Features
🧹 Deep System Cleanup
The mo clean command goes beyond standard trash emptying. It targets temporary files, system logs, and deep cache remnants that most GUI-based cleaners miss.
🚀 System Optimization
Mole isn’t just about deleting files. With mo optimize, the tool refreshes system services, clears DNS/system caches, rebuilds system databases, and resets network services to ensure everything is snappy.
📊 Live System Dashboard
Need to check your system’s health? mo status provides a real-time, color-coded dashboard showing health scores for your CPU, GPU, Memory, Disk, and Network performance—directly in your terminal.
🏗️ Project Artifact Purge
One of the most useful features for developers is mo purge. It scans your system for build artifacts like node_modules, target, build, and dist. You can choose exactly which projects to clean, reclaiming gigabytes of space in seconds.
🛡️ Smart App Uninstaller
Dragging an app to the Trash often leaves behind launch agents, preferences, and hidden support files. Mole’s uninstaller seeks out and removes these associated files for a truly clean removal.
Handy Commands
Once installed, you can operate Mole using the mo command. Here are the most useful operations:
| Command | Description |
|---|---|
mo | Open the interactive menu |
mo clean | Run the deep cleanup process |
mo uninstall | Remove apps and their leftover files |
mo optimize | Refresh system caches and services |
mo analyze | Launch the visual disk explorer |
mo status | View the live system health dashboard |
mo purge | Clean developer project build artifacts |
mo touchid | Configure Touch ID for sudo in terminal |
mo update | Update Mole to the latest version |
mo remove | Completely remove Mole from your system |
mo --help | Show the help menu |
mo --version | Show the installed version |
Advanced Usage
- Preview before action:
mo clean --dry-runormo optimize --dry-runto see what will happen without making changes. - Whitelist management: Use
--whitelistwithcleanoroptimizeto manage protected rules/caches. - Custom scan paths:
mo purge --pathsto configure where Mole scans for project artifacts.
Platforms
- 🍎 macOS (Built exclusively for Apple’s ecosystem)
Get Started
Mole is easy to install via Homebrew:
brew install moleAlternatively, you can use the official install script:
curl -fsSL https://raw.githubusercontent.com/tw93/mole/main/install.sh | bash🔗 GitHub Repository: tw93/Mole
Why This Tool Rocks
- Developer First: Tailored for people who live in the terminal.
- High Performance: Written in Go and Shell for speed.
- Transparency: Open-source and minimal, so you know exactly what is being touched on your system.
- All-in-One: Replaces the need for multiple monitoring and cleaning utilities.
Crepi il lupo! 🐺