nmap

Install command:
brew install nmap

Port scanning utility for large networks

https://nmap.org/

License: LicenseRef-Homebrew-cannot-represent

Development: Pull requests

Formula JSON API: /api/formula/nmap.json

Formula code: nmap.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 7.993
head ⚡️ HEAD

Depends on:

liblinear 2.50 Library for large linear classification
libssh2 1.11.1 C library implementing the SSH2 protocol
lua 5.5.1 Powerful, lightweight programming language
openssl@4 4.1.0 Cryptography and SSL/TLS Toolkit
pcre2 10.49 Perl compatible regular expressions library with a new API
python@3.15 3.15.2 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

python-setuptools 84.2.1 Easily download, build, install, upgrade, and uninstall Python packages

Uses from macOS: bison (build), flex (build), libpcap

Conflicts with: cern-ndiff (because both install `ndiff` binaries), ndiff (because both install `ndiff` binaries)

Binaries: ncat, ndiff, nmap, nping

GitHub Packages downloads:

Last 30 days277,807
Downloads6,060,611
Analytics install events (30 days)47,967
Downloads / install events (30 days)5.8×

Source: GitHub Packages, fetched 2026-11-11T00:50:13Z. Analytics dates: 2026-10-12 to 2026-11-11. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs47,86983,303266,172
Installs (--HEAD)98178549
Installs on Request47,34182,366262,718
Installs on Request (--HEAD)98178549
Build Errors674
Build Errors (--HEAD)16