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 days289,131
Downloads6,049,012
Analytics install events (30 days)50,061
Downloads / install events (30 days)5.8×

Source: GitHub Packages, fetched 2026-11-09T00:50:56Z. Analytics dates: 2026-10-10 to 2026-11-09. 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
Installs49,95884,553265,425
Installs (--HEAD)103183547
Installs on Request49,39983,597261,986
Installs on Request (--HEAD)103183547
Build Errors632
Build Errors (--HEAD)16