# Install mole with Homebrew, MacPorts, Nix

Deep clean and optimize your Mac. Version 1.49.1 via Homebrew; verified 2026-08-03. Also installable with nix: nix profile install nixpkgs#mole.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mole
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mole
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:mole
- **Package manager:** Homebrew
- **Version:** 1.49.1
- **Source summary:** Deep clean and optimize your Mac
- **Homepage:** <https://mole.fit>
- **Repository:** <https://github.com/tw93/Mole>
- **Last updated:** 2026-08-03T16:16:53Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- mo (alias)
- mole (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.49.1
## Project history and usage

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.

### Project history

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.

### How it is used

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.

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for mole. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Other Package-Manager Records

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


## Sources

- 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
