macOS
brew install nmaplocal Homebrew formula metadata
sudo port install nmapMacPorts ports tree · net/nmap/Portfile · source: api.github.com
brew
Port scanning utility for large networks. Version 7.99 via Homebrew; verified 2026-06-22.
install
brew install nmaplocal Homebrew formula metadata
sudo port install nmapMacPorts ports tree · net/nmap/Portfile · source: api.github.com
sudo apk add nmapAlpine Linux edge package indexes · nmap · source: dl-cdn.alpinelinux.org
sudo apt install ncatDebian stable package indexes · ncat · source: deb.debian.org
sudo dnf install nmapFedora Rawhide package metadata · nmap · source: dl.fedoraproject.org
nix profile install nixpkgs#nmapnixpkgs package indexes · pkgs/by-name/nm/nmap/package.nix · source: api.github.com
sudo pacman -S nmapArch Linux sync databases · nmap · source: geo.mirror.pkgbuild.com
choco install nmapChocolatey community package catalog · nmap · source: community.chocolatey.org
scoop install main/nmapScoop official bucket manifest trees · bucket/nmap.json · source: api.github.com
winget install --id Insecure.Nmap -eWindows Package Manager source index · Insecure.Nmap · source: cdn.winget.microsoft.com
overview
Port scanning utility for large networks
history
Nmap, short for Network Mapper, is one of the defining open-source security and network-discovery tools. Gordon "Fyodor" Lyon released it in Phrack issue 51 on September 1, 1997 as a Linux-only port scanner of about 2,000 lines; it grew into a cross-platform scanner for host discovery, port scanning, version detection, OS detection, scripting, scan comparison, packet generation, and network troubleshooting.
The official Nmap history highlights rapid early expansion: version 2.00 added OS detection on December 12, 1998; the first GUI appeared in April 1999; Windows support landed in December 2000; Mac OS X support and XML output arrived with Nmap 3.00 on July 31, 2002; and service/version detection was publicly released with Nmap 3.45 on September 16, 2003. The scan engine was rewritten as `ultra_scan` in 2004, raw Ethernet sending appeared in 2005, and the Nmap Scripting Engine arrived in 2006.
Nmap's adoption is unusually broad for a security tool. The official guide describes millions of users worldwide, recognition by publications such as Linux Journal and InfoWorld, and repeated appearances in films. Its own timeline also notes security-community infrastructure: a public Subversion repository in 2006, Google Summer of Code participation, Zenmap integration, and the 2009 release of Ncat and Ndiff as companion tools.
Package nerds install Nmap not only for `nmap` itself but for the companion commands Homebrew ships: `ncat`, `ndiff`, and `nping`. Everyday workflows include `nmap -A -T4 host` for an aggressive inventory scan, targeted `-sV` service/version detection, `-O` OS detection, `-sn` ping sweeps, NSE scripts for protocol checks, `ncat` for socket work, and `ndiff` to compare repeated XML scans.
Nmap is a canonical example of a CLI package whose upstream is bigger than a single binary: it carries data files, scripts, service probes, OS fingerprints, documentation, and multiple related tools. It is packaged almost everywhere, and Homebrew's API reported 14,039 installs in 30 days, 54,604 in 90 days, and 251,639 in 365 days when checked on July 1, 2026.
security posture
network reconnaissance tool.
red risk · medium confidence · escape-surveillance-offensive
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ncat | cli | global executable | |
nmap | cli | global executable | |
nping | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:nmap |
|---|---|
| Version | 7.99 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/nmap |
| Homepage | https://nmap.org/ |
| Repository | https://svn.nmap.org/nmap |
| Upstream docs | https://nmap.org/book/toc.html |
| License | LicenseRef-Homebrew-cannot-represent |
| Source archive | https://nmap.org/dist/nmap-7.99.tar.bz2 |
| Last updated | 2026-06-22T14:05:38-07:00 |
| Pulse | updated |
| Dependencies | liblinear, libssh2, lua, openssl@3, pcre2, python@3.14 |
| Build dependencies | python-setuptools |
| Uses from macOS | libpcap |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nmap |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ncat 7.95+dfsg-3
NMAP netcat reimplementation
sudo apt install ncatndiff 7.95+dfsg-3
The Network Mapper - result compare utility
sudo apt install ndiffnmap 7.95+dfsg-3
The Network Mapper
sudo apt install nmapnmap-common 7.95+dfsg-3
Architecture independent files for nmap
sudo apt install nmap-commonzenmap 7.95+dfsg-3
The Network Mapper Front End
sudo apt install zenmapnmap
nix profile install nixpkgs#nmapncat 7.94+git20230807.3be01efb1+dfsg-3build2
NMAP netcat reimplementation
sudo apt install ncatndiff 7.94+git20230807.3be01efb1+dfsg-3build2
The Network Mapper - result compare utility
sudo apt install ndiffnmap 7.94+git20230807.3be01efb1+dfsg-3build2
The Network Mapper
sudo apt install nmapnmap-common 7.94+git20230807.3be01efb1+dfsg-3build2
Architecture independent files for nmap
sudo apt install nmap-commonzenmap 7.94+git20230807.3be01efb1+dfsg-3build2
The Network Mapper Front End
sudo apt install zenmapnmap 7.99-r0
network exploration tool and security/port scanner
sudo apk add nmapnmap-doc 7.99-r0
network exploration tool and security/port scanner (documentation)
sudo apk add nmap-docnmap-ncat 7.99-r0
network exploration tool and security/port scanner (ncat tool)
sudo apk add nmap-ncatnmap-nping 7.99-r0
network exploration tool and security/port scanner (nping tool)
sudo apk add nmap-npingnmap-nselibs 7.99-r0
network exploration tool and security/port scanner (nselibs)
sudo apk add nmap-nselibssource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.