OSINT tool
Install nmap on Windows, macOS and Linux
Network mapper for host discovery, port scanning and service detection.
ot install nmapNmap is the standard network scanner. It finds the hosts on a network, the ports open on them, and the software and version behind each port. Its scripting engine adds hundreds of further checks.
How to install nmap
ot install nmapot uses nmap from your system's package manager. If it is not installed yet, ot shows the winget, brew or apt command and asks before running it. A Docker image is available as well: ot install nmap --method docker.
New to ot? It is one command to install, shown below.
How to use nmap
Arguments after the tool's name go straight to nmap, so its own documentation applies unchanged.
Scan the common ports and identify the services.
ot run nmap -sV example.comFind the live hosts in a range without scanning ports.
ot run nmap -sn 192.0.2.0/24Scan all 65,535 ports and save the result in every format.
ot run nmap -p- -T4 -oA scan example.comot run nmap --help lists every option. The project's own documentation is at nmap.org.
An AI agent can run nmap too: ot mcp serves it over the Model Context Protocol, once the server is started with --allow-active. See OSINT with AI agents.
nmap licence, platforms and versions
| Project | https://nmap.org |
| Licence | NPSL |
| Runs on | Windows, macOS and Linux |
| Takes | ip, domain |
| Sends traffic to the target | Yes |
| System package | through apk, apt, brew, choco, dnf, pacman, scoop and winget |
| Docker image | instrumentisto/nmap, with --method docker |
Questions about nmap
How do I install nmap on Windows?
Open PowerShell and install ot with irm https://otinstaller.com/install.ps1 | iex. Then run ot install nmap. ot installs nmap through winget, Scoop or Chocolatey, after showing you the command.
Is nmap free?
Yes. nmap is open source, released under the NPSL licence. ot, which installs it, is free under the Apache 2.0 licence.
How do I update or remove nmap?
nmap is a system package, so update and uninstall it with your package manager. ot remove nmap only makes ot forget it and never uninstalls a system package.
Do I need permission to use nmap?
Yes, for any system that is not your own. nmap 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 nmap unless started with --allow-active.
Install ot
curl -fsSL https://otinstaller.com/install.sh | shirm https://otinstaller.com/install.ps1 | iexRun it in PowerShell.
Current version: 0.3.0. Both scripts verify the download against its SHA-256 checksum before installing.