# 使用 Homebrew, MacPorts, Nix 安装 gau

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

## 安装

```sh
sudo av install brew:gau
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gau
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gau
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gau
```

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

## 软件包事实

- **软件包键:** brew:gau
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gau>
- **版本:** 2.2.4
- **来源摘要:** Open Threat Exchange, Wayback Machine, and Common Crawl URL fetcher
- **主页:** <https://github.com/lc/gau>
- **仓库:** <https://github.com/lc/gau>
- **许可证:** MIT
- **源码归档:** <https://github.com/lc/gau/archive/refs/tags/v2.2.4.tar.gz>
- **最后更新:** 2026-07-25T20:55:21-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- gau (cli)
- gau (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.2.4
- 管理器更新时间: 2026-07-25
- 本地数据: OK
- 上游仓库: https://github.com/lc/gau
- 检测到的最新版本: v2.2.4 (当前)
## 项目历史与用法

getallurls, commonly packaged as `gau`, is a reconnaissance CLI that fetches known URLs for domains from AlienVault Open Threat Exchange, the Wayback Machine, Common Crawl, and URLScan. It is aimed at security researchers and bug bounty workflows that need historical and third-party URL discovery.

### 项目历史

The project was created in February 2020 and reached a v1.0 release in April 2020. The README says gau was inspired by Tomnomnom's `waybackurls`, and the v2.0.4 release in November 2021 introduced a rewrite with speed improvements, a new URLScan provider, configuration-file loading, new filters, and SOCKS5 proxy support.

### 采用历史

Official installation options include `go install`, cloning and building from source, downloading GitHub release binaries, and Docker. The input curation also records Homebrew, MacPorts, and Nix package availability, showing the tool's spread through common security-tool package channels.

### 使用方式

gau accepts domains from arguments or stdin and can run with worker threads, write results to a file, filter by extensions, status codes, MIME types, date ranges, providers, and proxy settings, and output JSON. It automatically looks for `$HOME/.gau.toml` or `%USERPROFILE%\.gau.toml` unless an alternate config is supplied.

### 为什么软件包爱好者会关心

gau is package-nerd-significant because it turns multiple web-archive and threat-intelligence sources into a composable Unix-style CLI. Its short name also collides with an oh-my-zsh git alias, a small but memorable packaging and shell-environment wrinkle documented by the project.

### 时间线

- 2020: Public GitHub repository created.
- 2020: v1.0 released.
- 2021: v2.0.4 rewrite release added URLScan, config loading, filters, and SOCKS5 proxy support.
- 2024: v2.2.4 release published.

### Related projects

- gau is inspired by Tomnomnom's `waybackurls` and depends conceptually on AlienVault OTX, the Wayback Machine, Common Crawl, and URLScan as URL providers.

### 来源

- <https://github.com/lc/gau>
- <https://github.com/lc/gau/releases>
- <https://github.com/lc/gau/releases/tag/v2.0.4>


## 安全说明

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

- Unix: ~/.gau.toml
- Windows: %USERPROFILE%\.gau.toml
## 源数据库详情

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

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

- Nix - gau: normalized package name match | nixpkgs package indexes: pkgs/by-name/ga/gau/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - gau: normalized package name match | MacPorts ports tree: www/gau/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [naabu](https://pkg.so/zh-hans/brew/naabu/) - Shares pkgdb curated category or tags: cli, go, reconnaissance, security.
- [favirecon](https://pkg.so/zh-hans/brew/favirecon/) - Shares pkgdb curated category or tags: cli, go, reconnaissance, security.
- [osv-scanner](https://pkg.so/zh-hans/brew/osv-scanner/) - Shares pkgdb curated category or tags: cli, go, security.
- [subfinder](https://pkg.so/zh-hans/brew/subfinder/) - Shares pkgdb curated category or tags: cli, reconnaissance, security.
- [gobuster](https://pkg.so/zh-hans/brew/gobuster/) - Shares pkgdb curated category or tags: cli, go, security.
- [amass](https://pkg.so/zh-hans/brew/amass/) - Shares pkgdb curated category or tags: cli, reconnaissance, security.
- [govulncheck](https://pkg.so/zh-hans/brew/govulncheck/) - Shares pkgdb curated category or tags: cli, go, security.
- [gosec](https://pkg.so/zh-hans/brew/gosec/) - Shares pkgdb curated category or tags: cli, go, security.
- [fierce](https://pkg.so/zh-hans/brew/fierce/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, discovery, reconnaissance, security.
- [uncover](https://pkg.so/zh-hans/brew/uncover/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, discovery, reconnaissance, security.
- [enpass-cli](https://pkg.so/zh-hans/brew/enpass-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, go, security.

## Combined YAML source

View the package source record on GitHub. [combined/gau.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gau.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
- external package-manager database matches
- cross-ecosystem install command graph
