# 使用 Homebrew, MacPorts, Nix 安装 mole

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

## 安装

```sh
sudo av install brew:mole
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mole
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mole
```

  证据: MacPorts ports tree: net/mole/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mole
```

  证据: nixpkgs package indexes: pkgs/by-name/mo/mole/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:mole
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mole>
- **版本:** 1.49.2
- **来源摘要:** Deep clean and optimize your Mac
- **主页:** <https://mole.fit>
- **仓库:** <https://github.com/tw93/Mole>
- **上游文档:** <https://mole.fit>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/tw93/Mole/archive/refs/tags/V1.49.2.tar.gz>
- **最后更新:** 2026-08-03T16:16:53Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mo (cli)
- mole (cli)
- mo (别名)
- mole (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.49.2
- 管理器更新时间: 2026-08-03
- 本地数据: OK
- 上游仓库: https://github.com/tw93/Mole
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Mole is a macOS cleanup and maintenance tool published under the tw93/Mole GitHub project. Its README presents the CLI as free and open source and describes it as a terminal tool for cleaning, uninstalling, analyzing, optimizing, and monitoring a Mac. The same project links a native Mole for Mac app that adds visual cleanup review, app updates, uninstall workflows, maintenance tools, disk maps, live status, and a menu-bar HUD.

### 项目历史

The tool's practical role is in the Mac utility niche usually occupied by GUI cleaners and uninstallers. Mole's README explicitly compares its feature set to CleanMyMac, AppCleaner, DaisyDisk, and iStat Menus: cache and log removal, orphaned app data cleanup, application uninstall plus launch agents and hidden remnants, disk-usage inspection, cache rebuilding, service refreshes, and live CPU, GPU, memory, disk, and network stats.

### 使用方式

Package-manager adoption is macOS-focused. Homebrew, MacPorts, and Nix carry it as a command-line utility, while the upstream project separates the free CLI from the paid native app. Public source-backed history beyond the repository and product site is thin, so this entry treats Mole as a young package-manager-visible Mac maintenance utility rather than making claims about its origin story or broader adoption.

### 来源

- <https://github.com/tw93/Mole>
- <https://github.com/tw93/Mole/releases>
- <https://mole.fit/>
- <https://ports.macports.org/port/mole-cleaner/>


## 安全说明

没有找到 mole 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mole
- **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

## 其他软件包管理器记录

- Nix - mole: normalized package name match | nixpkgs package indexes: pkgs/by-name/mo/mole/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - mole: normalized package name match | MacPorts ports tree: net/mole/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - mo: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/mo/mo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [mas](https://pkg.so/zh-hans/brew/mas/) - Shares pkgdb curated category or tags: cli, macos, system.
- [osx-cpu-temp](https://pkg.so/zh-hans/brew/osx-cpu-temp/) - Shares pkgdb curated category or tags: cli, macos, system.
- [sleepwatcher](https://pkg.so/zh-hans/brew/sleepwatcher/) - Shares pkgdb curated category or tags: cli, macos, system.
- [fileicon](https://pkg.so/zh-hans/brew/fileicon/) - Shares pkgdb curated category or tags: cli, macos, system.
- [m-cli](https://pkg.so/zh-hans/brew/m-cli/) - Shares pkgdb curated category or tags: cli, macos, system.
- [reattach-to-user-namespace](https://pkg.so/zh-hans/brew/reattach-to-user-namespace/) - Shares pkgdb curated category or tags: cli, macos, system.
- [mist-cli](https://pkg.so/zh-hans/brew/mist-cli/) - Shares pkgdb curated category or tags: cli, macos, system.
- [defaultbrowser](https://pkg.so/zh-hans/brew/defaultbrowser/) - Shares pkgdb curated category or tags: cli, macos, system.
- [modclean](https://pkg.so/zh-hans/npm/modclean/) - Local package facts share a topical domain. Shared terms: clean, cleanup, cli, system, your.
- [dark-mode](https://pkg.so/zh-hans/brew/dark-mode/) - Local package facts share a topical domain. Shared terms: cli, macos, system.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
