# Install gau on Windows, macOS and Linux

Fetch known URLs for a domain from the Wayback Machine, Common Crawl and others.

gau (get all URLs) lists every URL of a domain that the Wayback Machine, Common Crawl, AlienVault OTX and urlscan have on record. It never contacts the site itself, and it often reveals old endpoints that the live site no longer links to.

## How to install gau

```
ot install gau
```

ot downloads gau 2.2.4 as a prebuilt binary from [github.com/lc/gau](https://github.com/lc/gau/releases) and verifies its SHA-256 checksum before installing it. Nothing has to be compiled.

If you do not have ot yet:

macOS and Linux:

```
curl -fsSL https://otinstaller.com/install.sh | sh
```

Windows (PowerShell):

```
irm https://otinstaller.com/install.ps1 | iex
```

Current version: 0.3.0. Both scripts verify the download against its [SHA-256 checksum](https://otinstaller.com/releases/v0.3.0/checksums.txt) before installing.

## How to use gau

Arguments after the tool's name go straight to gau.

List the known URLs of a domain.

```
ot run gau example.com
```

Include subdomains, using only the Wayback Machine.

```
ot run gau --subs --providers wayback example.com
```

Only URLs seen since January 2024, saved to a file.

```
ot run gau --from 202401 --o urls.txt example.com
```

`ot run gau --help` lists every option.

An AI agent can run gau too: `ot mcp` serves it over the Model Context Protocol. See [OSINT with AI agents](https://otinstaller.com/mcp/).

## gau licence, platforms and versions

- Project: https://github.com/lc/gau
- Licence: MIT
- Runs on: Windows, macOS and Linux
- Takes: domain
- Categories: url, archive, web
- Sends traffic to the target: no
- Release binary: version 2.2.4 from github.com/lc/gau, verified by SHA-256

## Questions about gau

### How do I install gau on Windows?

Open PowerShell and install ot with `irm https://otinstaller.com/install.ps1 | iex`. Then run `ot install gau`. ot fetches a pinned version of gau and keeps it under `~/.ot`, apart from the rest of your system.

### Is gau free?

Yes. gau is open source, released under the MIT licence. ot, which installs it, is free under the Apache 2.0 licence.

### Do I need Go or a compiler to install gau?

No. ot downloads the prebuilt gau binary for your platform and checks its SHA-256 checksum. A mismatch installs nothing.

### How do I update or remove gau?

`ot update gau` moves it to the version pinned in ot's registry, and `ot update gau --latest` to the newest upstream release. `ot remove gau` uninstalls it.

## Tools related to gau

- [httrack](https://otinstaller.com/tools/httrack/): Copy a website to disk for offline review and evidence.
- [waybackpy](https://otinstaller.com/tools/waybackpy/): Query and save pages in the Internet Archive Wayback Machine.
- [cariddi](https://otinstaller.com/tools/cariddi/): Crawl a site for endpoints, secrets, API keys and interesting files.
- [gallery-dl](https://otinstaller.com/tools/gallery-dl/): Download image galleries and their metadata from social and hosting sites.
- [gobuster](https://otinstaller.com/tools/gobuster/): Brute-force DNS subdomains, virtual hosts, web paths and cloud buckets.
- [gowitness](https://otinstaller.com/tools/gowitness/): Screenshot websites in bulk with headless Chrome and browse the results.

More: [Websites](https://otinstaller.com/osint-tools/websites/).
