# Install chaos on Windows, macOS and Linux

Query the ProjectDiscovery Chaos dataset of known subdomains.

chaos is the client for ProjectDiscovery's Chaos dataset, a continuously updated collection of subdomains for a very large number of domains. A lookup returns in seconds because nothing is enumerated at the time you ask. It needs a free ProjectDiscovery Cloud API key.

## How to install chaos

```
ot install chaos
```

ot downloads chaos 0.5.2 as a prebuilt binary from [github.com/projectdiscovery/chaos-client](https://github.com/projectdiscovery/chaos-client/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 chaos

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

List the known subdomains of a domain.

```
ot run chaos -d example.com -silent
```

Show only how many are known.

```
ot run chaos -d example.com -count
```

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

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

## API keys for chaos

chaos reads these environment variables. Store one with `ot keys set NAME` and ot passes it to chaos on every run.

| Variable | Purpose |
|---|---|
| `PDCP_API_KEY` | ProjectDiscovery Cloud Platform key |

## chaos licence, platforms and versions

- Project: https://github.com/projectdiscovery/chaos-client
- Licence: MIT
- Runs on: Windows, macOS and Linux
- Takes: domain
- Categories: domain, subdomain
- Sends traffic to the target: no
- Release binary: version 0.5.2 from github.com/projectdiscovery/chaos-client, verified by SHA-256

## Questions about chaos

### How do I install chaos on Windows?

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

### Is chaos free?

Yes. chaos 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 chaos?

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

### How do I update or remove chaos?

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

## Tools related to chaos

- [alterx](https://otinstaller.com/tools/alterx/): Generate likely subdomain names from known ones using patterns.
- [amass](https://otinstaller.com/tools/amass/): In-depth attack surface mapping and subdomain discovery from many data sources.
- [bbot](https://otinstaller.com/tools/bbot/): Recursive OSINT automation: subdomains, emails, web and cloud findings in one run.
- [findomain](https://otinstaller.com/tools/findomain/): Fast subdomain enumeration from certificate transparency logs and APIs.
- [knockpy](https://otinstaller.com/tools/knockpy/): Enumerate subdomains by passive lookup and wordlist, with HTTP and TLS checks.
- [subfinder](https://otinstaller.com/tools/subfinder/): Fast passive subdomain enumeration from dozens of public sources.

More: [Subdomains and DNS](https://otinstaller.com/osint-tools/subdomains/).
