# Install naabu on Windows, macOS and Linux

Fast port scanner for finding open ports on hosts.

naabu is a fast port scanner that does one thing: tell you which ports are open on a list of hosts. It can hand its results to nmap for service detection.

> naabu sends traffic to its target. Only use it on systems you own or have written permission to test.

## How to install naabu

```
ot install naabu
```

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

Before first use: SYN scans need Npcap on Windows and libpcap on Linux and macOS.

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 naabu

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

Scan the 100 most common ports.

```
ot run naabu -host example.com
```

Scan the top 1,000 ports and print only the results.

```
ot run naabu -host example.com -top-ports 1000 -silent
```

Scan chosen ports on every host in a file.

```
ot run naabu -list hosts.txt -p 80,443,8080
```

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

An AI agent can run naabu too: `ot mcp` serves it over the Model Context Protocol, once the server is started with `--allow-active`. See [OSINT with AI agents](https://otinstaller.com/mcp/).

## naabu licence, platforms and versions

- Project: https://github.com/projectdiscovery/naabu
- Licence: MIT
- Runs on: Windows, macOS and Linux
- Takes: ip, domain
- Categories: network, ports, recon
- Sends traffic to the target: yes
- Release binary: version 2.7.0 from github.com/projectdiscovery/naabu, verified by SHA-256

## Questions about naabu

### How do I install naabu on Windows?

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

### Is naabu free?

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

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

### How do I update or remove naabu?

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

### Do I need permission to use naabu?

Yes, for any system that is not your own. naabu sends traffic to its target, so use it only on systems you own or have written permission to test. ot shows this reminder before the first run, and its MCP server refuses naabu unless started with `--allow-active`.

## Tools related to naabu

- [nmap](https://otinstaller.com/tools/nmap/): Network mapper for host discovery, port scanning and service detection.
- [asnmap](https://otinstaller.com/tools/asnmap/): Map an organisation, domain or IP to its ASNs and network ranges.
- [masscan](https://otinstaller.com/tools/masscan/): Internet-scale TCP port scanner.
- [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.
- [cdncheck](https://otinstaller.com/tools/cdncheck/): Identify the CDN, cloud provider or WAF in front of an IP or domain.

More: [Networks and hosts](https://otinstaller.com/osint-tools/networks/).
