Automic VaultAutomic Vault

brew

使用 Homebrew 安装 mac-cleanup-go

查看 mac-cleanup-go 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mac-cleanup-go

local Homebrew formula metadata

概览

软件包摘要

TUI macOS cleaner that scans caches/logs and lets you select what to delete

命令和别名

  • mac-cleanup

历史

项目历史与用法

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.

时间线

  • 2026-01: Public GitHub repository created.
  • 2026-02: v1.3.10 added CLI mode for selecting targets, dry runs, and cleanup execution.
  • 2026-04: v1.5.0 expanded cleanup coverage and upgraded the Bubble Tea terminal UI stack.
  • 2026-06: v1.5.1 included Docker availability and scan-performance fixes.

Related projects

  • The README lists mac-cleanup-py and Mole as alternatives. mac-cleanup-go overlaps with mac-cleanup-py in the macOS cleanup niche but emphasizes a Go implementation and terminal UI preview workflow.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 4 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

macOS
~/.config/mac-cleanup-go/config.yaml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mac-cleanupcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.6.0
管理器更新时间2026-07-22
本地数据OK
上游当前
检测到的最新版本v1.6.0

https://github.com/2ykwang/mac-cleanup-go

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemac-cleanup-go
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment