Mac Cleanup Go is a terminal-based macOS cleaner built as a preview-first TUI (terminal user interface) for scanning and removing caches, logs, and temporary files. Written in Go, it serves developers, system administrators, and advanced macOS users who demand fine-grained control over disk cleanup. Unlike opaque utilities, Mac Cleanup Go shows every file’s size and path before any deletion, turning a risky task into a transparent, informed process. The tool natively runs in the terminal and uses parallel scanning to map reclaimable storage across dozens of known locations. Its core value is combining safety with thoroughness, letting you reclaim gigabytes without accidental data loss.
The concrete problem Mac Cleanup Go solves is the silent accumulation of hidden caches, logs, and temporary files that devour Mac disk space. Tools like Homebrew, Docker, Xcode, and browsers generate gigabytes of disposable data, yet macOS offers no built-in, user-controlled way to clear them. Many users either manually hunt through hidden folders or rely on opaque GUI cleaners that may delete important data. Mac Cleanup Go addresses this by presenting a structured, categorized view of reclaimable space with size estimates and safety ratings. It removes the guesswork, allowing developers juggling SDKs and containers to reclaim precious SSD space safely, and giving everyday users a reliable, scriptable maintenance tool they can trust.
The interactive TUI with category selection and file preview is the first major feature group. Launching `mac-cleanup` opens a list view where cleanup targets are grouped into System, Browsers, Development, and Applications, each displaying size and an impact level (safe, moderate, risky). Keyboard shortcuts let you select multiple categories, then press Enter to enter the preview view. There, every file and directory is listed with its path and size. You can toggle items on/off to decide exactly what gets deleted, drill into subdirectories, search by filename, sort by size, and even open a location in Finder. This granular preview ensures no file is removed without explicit consent, making cleanup fully transparent and controllable.
The second feature group revolves around safety impact levels and built-in protections. Mac Cleanup Go assigns each of its 107 targets a safety classification: “safe” for auto-regenerated caches and logs, “moderate” for items that might require a re-download or login, “risky” for targets possibly containing user data, and “manual” for apps where only guides are shown. Risky categories are unselected by default, and their items start excluded—you must deliberately include them in preview to delete. The tool also respects System Integrity Protection (SIP) and excludes SIP-protected paths from scanning and cleanup. This multi-layered safety net prevents accidental removal of important files, giving even cautious users confidence to proceed.
admin
Built-in scanners for development tools and CLI automation form the third key feature group. Beyond generic paths, Mac Cleanup Go integrates specific scanners for Homebrew, Docker, and old downloads—using `brew` output, Docker image size queries, and last-modified time filtering to identify reclaimable space. These built-in scanners provide accurate, real-time assessments for developer environments. Additionally, CLI mode (`--select`, `--clean --dry-run`, `--clean`) enables headless operation for scripts and cron jobs. A system administrator can schedule weekly dry runs to monitor disk trends and then execute cleanup programmatically, making the tool versatile for both manual exploration and automated maintenance.
Mac Cleanup Go works by installing via Homebrew or direct binary download, then performing a parallel scan of known cache, log, and temp paths across macOS. The scan is based on a curated list of directories from browsers, development tools (Go, Node, Xcode, etc.), system logs, and application caches. It computes total size per category and labels each with an impact level. Results appear in a bubble-tea-powered terminal interface where keyboard navigation drives the workflow: select categories, preview contents, toggle undesired files, and confirm deletion. By default, files go to Trash for recovery; only emptying the Trash category performs permanent deletion. This workflow marries speed and safety, requiring deliberate confirmation for irreversible actions.
Concrete use cases illustrate real outcomes. A developer after coding finds the Go build cache at 845 MB, Docker at 2.8 GB, and Homebrew cache at 1.5 GB. They preview these categories, verify no private files are included, and safely delete, freeing over 5 GB instantly. A designer discovers system logs and temporary files hogging 300 MB, sorts by size in the TUI, excludes needed items, and cleans up in moments. A DevOps engineer schedules `mac-cleanup --clean` nightly on a CI Mac runner, keeping disk usage in check without manual intervention. Manual categories for Telegram and KakaoTalk point out large chat caches without automatic deletion, giving full control over sensitive data.
Mac Cleanup Go targets macOS Monterey and later, distributed as a standalone binary and Homebrew formula. Its primary audience includes Go developers, DevOps engineers, and command-line power users comfortable with terminals—especially those managing Homebrew, Docker, Node, Python, or Go stacks. There is no pricing; it is open-source under MIT with an active GitHub community. The tool is not a system optimizer or uninstaller; it focuses solely on safe, transparent removal of disposable data. In summary, Mac Cleanup Go delivers the most controlled, preview-driven terminal-based macOS cleaning experience, combining developer-friendly scanners with a safety-first design that puts you in command of every byte you delete.
Mac Cleanup Go is designed for macOS developers, system administrators, and power users who favor command-line and TUI interfaces over GUI bloat. It suits anyone managing heavy development environments with Homebrew, Docker, Go, Node, or Xcode caches. Terminal-centric IT professionals looking to automate disk cleanup via scripts will appreciate the CLI mode. It is also ideal for privacy-conscious users who want full visibility and control over every file before deletion. The safety levels make it accessible even to cautious beginners who are comfortable with the terminal.