# mac-cleanup-go を Homebrew でインストール

mac-cleanup-go のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:mac-cleanup-go
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install mac-cleanup-go
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:mac-cleanup-go
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/mac-cleanup-go>
- **バージョン:** 1.6.0
- **ソース概要:** TUI macOS cleaner that scans caches/logs and lets you select what to delete
- **ホームページ:** <https://github.com/2ykwang/mac-cleanup-go>
- **リポジトリ:** <https://github.com/2ykwang/mac-cleanup-go>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/2ykwang/mac-cleanup-go/archive/refs/tags/v1.6.0.tar.gz>
- **最終更新:** 2026-07-29T17:04:49+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- mac-cleanup (cli)
- mac-cleanup (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.6.0
- マネージャ更新日: 2026-07-29
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/2ykwang/mac-cleanup-go
- 検出された最新: v1.6.0 (最新)
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://formulae.brew.sh/api/formula/mac-cleanup-go.json>
- <https://github.com/2ykwang/mac-cleanup-go#readme>
- <https://github.com/2ykwang/mac-cleanup-go/releases>
- source_facts.repo


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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

- macOS: ~/.config/mac-cleanup-go/config.yaml
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mac-cleanup-go
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [rmrfrs](https://pkg.so/ja/brew/rmrfrs/) - Shares pkgdb curated category or tags: cleanup, cli, system.
- [mole](https://pkg.so/ja/brew/mole/) - Shares pkgdb curated category or tags: cleanup, cli, macos, system.
- [gonzo](https://pkg.so/ja/brew/gonzo/) - Shares pkgdb curated category or tags: cli, logs, system, tui.
- [lazyjournal](https://pkg.so/ja/brew/lazyjournal/) - Shares pkgdb curated category or tags: cli, logs, system, tui.
- [devcockpit](https://pkg.so/ja/brew/devcockpit/) - Shares pkgdb curated category or tags: cli, macos, system, tui.
- [kondo](https://pkg.so/ja/brew/kondo/) - Shares pkgdb curated category or tags: cleanup, cli, system.
- [diskwatch](https://pkg.so/ja/brew/diskwatch/) - Shares pkgdb curated category or tags: cli, macos, system, tui.
- [lima](https://pkg.so/ja/brew/lima/) - Shares pkgdb curated category or tags: cli, macos, system.
- [npkill](https://pkg.so/ja/npm/npkill/) - Local package facts share a topical domain. Shared terms: cleanup, cli, delete, select, system.

## Combined YAML source

View the package source record on GitHub. [combined/mac-cleanup-go.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mac-cleanup-go.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
