README
Mole
Deep clean, uninstall, optimize, analyze disk and monitor your Mac. Free open-source CLI, plus a Mac app.
English · 中文 · 繁體 · 日本語 · 한국어 · Deutsch · Français · Polski · Українська · Русский
💡 This repo is the free open-source CLI (
mo). Prefer a native app? Mole for Mac is a separate download with review-before-delete cleanup, tested leftovers for 800+ apps, maintenance, disk drill-downs, live status, and fan controls on supported Macs. On Windows, the native app is Mole for Windows.brew install moleinstalls the CLI only.
Features
- All-in-one CLI toolkit: Combines CleanMyMac, AppCleaner, DaisyDisk, and iStat Menus style workflows in one terminal command
- Deep clean: Removes caches, logs, leftovers, and orphaned app data to reclaim disk space
- Smart uninstaller: Removes apps together with LaunchAgents, preferences, and leftovers
- Disk analyzer: Visualizes disk usage with an interactive TUI, finds large files, and navigates directories
- System maintenance: Flushes DNS, refreshes QuickLook/icons, and optimizes system databases
- Live monitoring: Shows real-time CPU, memory, disk I/O, network traffic, and process stats
Quick Start
Mole requires macOS 12 or newer and supports both Intel and Apple Silicon Macs. If Homebrew no longer supports your macOS version, use the script install instead.
Install via Homebrew
brew install mole
Or via script
curl -fsSL https://raw.githubusercontent.com/tw93/mole/main/install.sh | bash
With an AI agent
Tell your agent:
Install Mole for me by reading https://raw.githubusercontent.com/tw93/Mole/main/llms.txt
Or install the skill yourself. With it, Claude Code, Codex, Cursor and other agents show every cleanup with --dry-run before anything is removed, and leave app uninstalls and administrator steps to you. Update with npx skills update -g -y.
npx skills add tw93/Mole -a claude-code codex cursor -g -y
As a host plugin: /plugin marketplace add tw93/Mole then /plugin install mole@mole in Claude Code, codex plugin marketplace add tw93/Mole then codex plugin add mole@mole in Codex, or dsh plugin --profile <name> add dsh-mole in DeepSeek Harness.
Run
mo # Interactive menu
mo clean # Deep cleanup + already-uninstalled app leftovers
mo uninstall # Remove installed apps + their leftovers
mo optimize # Refresh caches & services
mo analyze # Visual disk explorer (or 'mo analyse')
mo status # Live system health dashboard
mo purge # Clean project build artifacts
mo installer # Find and remove installer files
mo slim # Remove Intel code from universal apps
mo touchid # Configure Touch ID for sudo
mo completion # Set up shell tab completion
mo update # Update Mole
mo update --nightly # Update to latest unreleased main build, script install only
mo remove # Remove Mole from system
mo --help # Show help
mo --version # Show installed version
Preview safely
mo clean --dry-run
mo uninstall --dry-run
mo optimize --dry-run
mo purge --dry-run
mo installer --dry-run
mo slim --dry-run
mo history
mo history --json
mo clean --dry-run --debug # Preview + detailed logs
mo optimize --whitelist # Manage protected optimization rules
mo clean --whitelist # Manage protected caches
mo purge --paths # Configure project scan directories
mo analyze /Volumes # Analyze external drives only
mo analyze /private/tmp # Review user-owned temporary directories
Other install options
To install a specific release, pass any tag from the releases page, with or without its leading V. To track the development branch instead, pass main:
curl -fsSL https://raw.githubusercontent.com/tw93/mole/main/install.sh | bash -s -- 1.51.0
curl -fsSL https://raw.githubusercontent.com/tw93/mole/main/install.sh | bash -s -- main
main installs unreleased code from the default branch, so expect rough edges. latest still works as a legacy alias for main; despite the name it does not install the newest stable release.
更多「桌面與應用程式」外掛
open-design
作者 nexu-io
DeepSeek Harness 的開源 AI 設計外掛,本地優先桌面應用,讓編碼智慧體變身設計引擎,生成原型、落地頁、幻燈片、圖片與影片,支援多種格式匯出。
dsh-desktop
作者 anywhere-labs
為 DeepSeek Harness (DSH) 外掛生態打造的現代化桌面端解決方案。萬物皆「外掛」,桌面本身也是「外掛」。
picgo
作者 molunerfinn
PicGo:面向高效創作者的圖片上傳神器,支援 Obsidian、Typora、VS Code 等編輯器,以及 S3、GitHub、Cloudflare R2、Imgur、阿里雲 OSS 等 60+ 圖床,貼上即上傳。
dsh-go
作者 ccch1mneyyy
dsh-go — DeepSeek Harness 裝進口袋:手機本機執行,也能遙控你的電腦。
