# 使用 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
- **版本:** 1.49.1
- **来源摘要:** Deep clean and optimize your Mac
- **主页:** <https://mole.fit>
- **仓库:** <https://github.com/tw93/Mole>
- **最后更新:** 2026-08-03T16:16:53Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.49.1
## 项目历史与用法

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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
