# 使用 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
- **版本:** 2.2.4
- **来源摘要:** Open Threat Exchange, Wayback Machine, and Common Crawl URL fetcher
- **主页:** <https://github.com/lc/gau>
- **仓库:** <https://github.com/lc/gau>
- **最后更新:** 2026-07-25T20:55:21-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gau (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.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
## 其他软件包管理器记录

- 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


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