macOS
brew install mac-cleanup-golocal Homebrew formula metadata
安装
brew install mac-cleanup-golocal Homebrew formula metadata
概览
TUI macOS cleaner that scans caches/logs and lets you select what to delete
历史
mac-cleanup-go is a Go-based macOS cleanup utility that presents cleanup targets in a terminal UI before anything is deleted. Its README describes a preview-first workflow for caches, logs, temporary files, selected app data, Docker, Homebrew, and developer-tool caches.
The public GitHub repository was created in January 2026 and the project quickly iterated through a 1.x release series. Release notes show early work on preview and confirmation UI, Docker item handling, a command-line cleaning mode in v1.3.10, and expanded cleanup coverage through v1.5.0 and v1.5.1.
The project positions itself as a safer, interactive alternative to broad cleanup scripts: risky categories are unselected by default, SIP-protected paths are excluded, and manual categories surface guidance rather than automatically deleting data.
The README documents Homebrew as the primary install path, with GitHub Releases as an alternative. Homebrew formula analytics reported 2,099 installs over 365 days for mac-cleanup-go at the time of this batch.
GitHub repository metadata showed several hundred stars and releases by mid-2026, suggesting fast early adoption for a young macOS utility rather than long-established cross-platform packaging.
Typical interactive use is `mac-cleanup`, then selecting categories, previewing items, excluding anything to keep, and confirming deletion. The README also documents CLI mode with `mac-cleanup --select`, `mac-cleanup --clean --dry-run`, and `mac-cleanup --clean`.
The tool sends most deleted items to Trash by default, while the Trash category itself is permanent. The README says Full Disk Access may be needed for Trash or restricted locations.
For package-manager users, mac-cleanup-go is notable because Homebrew is both an installation channel and a cleanup target. It reflects a newer generation of macOS maintenance tools that wrap package caches, build caches, and app-specific paths in a TUI instead of relying on one-shot shell scripts.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.config/mac-cleanup-go/config.yaml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mac-cleanup | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/2ykwang/mac-cleanup-go
安装元数据
| 软件包键 | brew:mac-cleanup-go |
|---|---|
| 版本 | 1.6.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/mac-cleanup-go |
| 主页 | https://github.com/2ykwang/mac-cleanup-go |
| 仓库 | https://github.com/2ykwang/mac-cleanup-go |
| 上游文档 | https://github.com/2ykwang/mac-cleanup-go#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/2ykwang/mac-cleanup-go/archive/refs/tags/v1.6.0.tar.gz |
| 最后更新 | 2026-07-22T17:13:18Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mac-cleanup-go |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.