Automic VaultAutomic Vault

brew

Install nmap with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget

Port scanning utility for large networks. Version 7.99 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install nmap

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install nmap

MacPorts ports tree · net/nmap/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add nmap

Alpine Linux edge package indexes · nmap · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install ncat

Debian stable package indexes · ncat · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install nmap

Fedora Rawhide package metadata · nmap · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#nmap

nixpkgs package indexes · pkgs/by-name/nm/nmap/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S nmap

Arch Linux sync databases · nmap · source: geo.mirror.pkgbuild.com

Windows

Chocolateyverified · 92%
choco install nmap

Chocolatey community package catalog · nmap · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/nmap

Scoop official bucket manifest trees · bucket/nmap.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id Insecure.Nmap -e

Windows Package Manager source index · Insecure.Nmap · source: cdn.winget.microsoft.com

overview

Package summary

Port scanning utility for large networks

Commands and aliases

  • ncat
  • nmap
  • nping

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 1997-09-01: first release in Phrack issue 51.
  • 1998-12-12: Nmap 2.00 adds OS detection.
  • 2000-12-07: first official Windows-capable version.
  • 2002-07-31: Nmap 3.00 adds Mac OS X support, XML output, and uptime detection.
  • 2003-09-16: service/version detection is publicly released.
  • 2006-12-10: Nmap Scripting Engine debuts in Nmap 4.21ALPHA1.
  • 2009-01-23: Ncat and Ndiff are added.
  • 2026-07-01: Homebrew stable version is 7.99.

Related projects

  • Ncat
  • Ndiff
  • Nping
  • Zenmap
  • Npcap
  • Nmap Scripting Engine

security posture

Risk level: red

network reconnaissance tool.

Risk classifier

red risk · medium confidence · escape-surveillance-offensive

Why

  • network reconnaissance tool

Signals

  • override:nmap

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 6 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
ncatcliglobal executable
nmapcliglobal executable
npingcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version7.99
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://nmap.org/

  • infoRelease/tag comparison is only available for GitHub repositories.https://nmap.org/none confidence

install metadata

Package metadata

Package keybrew:nmap
Version7.99
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/nmap
Homepagehttps://nmap.org/
Repositoryhttps://svn.nmap.org/nmap
Upstream docshttps://nmap.org/book/toc.html
LicenseLicenseRef-Homebrew-cannot-represent
Source archivehttps://nmap.org/dist/nmap-7.99.tar.bz2
Last updated2026-06-22T14:05:38-07:00
Pulseupdated
Dependenciesliblinear, libssh2, lua, openssl@3, pcre2, python@3.14
Build dependenciespython-setuptools
Uses from macOSlibpcap
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenmap
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • cern-ndiff
  • ndiff
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

ncat 7.95+dfsg-3

NMAP netcat reimplementation

https://nmap.org/

sudo apt install ncat
  • Section: net
  • Architecture: amd64
  • Source Package: nmap
  • 4 dependencies
  • normalized package name match
  • Matched by: Nmap
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ncat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ndiff 7.95+dfsg-3

The Network Mapper - result compare utility

https://nmap.org/

sudo apt install ndiff
  • Section: net
  • Architecture: all
  • Source Package: nmap
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Nmap
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ndiff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nmap 7.95+dfsg-3

The Network Mapper

https://nmap.org/

sudo apt install nmap
  • Section: net
  • Architecture: amd64
  • 11 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Nmap
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nmap from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nmap-common 7.95+dfsg-3

Architecture independent files for nmap

https://nmap.org/

sudo apt install nmap-common
  • Section: net
  • Architecture: all
  • Source Package: nmap
  • 1 optional deps
  • normalized package name match
  • Matched by: Nmap
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nmap-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

zenmap 7.95+dfsg-3

The Network Mapper Front End

https://nmap.org/

sudo apt install zenmap
  • Section: net
  • Architecture: all
  • Source Package: nmap
  • 9 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Nmap
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zenmap from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

nmap

nix profile install nixpkgs#nmap
  • normalized package name match
  • Matched by: Nmap
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/nm/nmap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

ncat 7.94+git20230807.3be01efb1+dfsg-3build2

NMAP netcat reimplementation

https://nmap.org/

sudo apt install ncat
  • Section: universe/net
  • Architecture: amd64
  • Source Package: nmap
  • 4 dependencies
  • normalized package name match
  • Matched by: Nmap
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ncat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

ndiff 7.94+git20230807.3be01efb1+dfsg-3build2

The Network Mapper - result compare utility

https://nmap.org/

sudo apt install ndiff
  • Section: universe/net
  • Architecture: all
  • Source Package: nmap
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Nmap
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ndiff from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

nmap 7.94+git20230807.3be01efb1+dfsg-3build2

The Network Mapper

https://nmap.org/

sudo apt install nmap
  • Section: universe/net
  • Architecture: amd64
  • 11 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Nmap
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nmap from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

nmap-common 7.94+git20230807.3be01efb1+dfsg-3build2

Architecture independent files for nmap

https://nmap.org/

sudo apt install nmap-common
  • Section: universe/net
  • Architecture: all
  • Source Package: nmap
  • 1 optional deps
  • normalized package name match
  • Matched by: Nmap
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nmap-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

zenmap 7.94+git20230807.3be01efb1+dfsg-3build2

The Network Mapper Front End

https://nmap.org/

sudo apt install zenmap
  • Section: universe/net
  • Architecture: all
  • Source Package: nmap
  • 8 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Nmap
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: zenmap from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

nmap 7.99-r0

network exploration tool and security/port scanner

https://nmap.org

sudo apk add nmap
  • License: custom
  • Architecture: x86_64
  • Source Package: nmap
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Nmap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nmap from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nmap-doc 7.99-r0

network exploration tool and security/port scanner (documentation)

https://nmap.org

sudo apk add nmap-doc
  • License: custom
  • Architecture: x86_64
  • Source Package: nmap
  • normalized package name match
  • Matched by: Nmap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nmap-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nmap-ncat 7.99-r0

network exploration tool and security/port scanner (ncat tool)

https://nmap.org

sudo apk add nmap-ncat
  • License: custom
  • Architecture: x86_64
  • Source Package: nmap
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Nmap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nmap-ncat from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nmap-nping 7.99-r0

network exploration tool and security/port scanner (nping tool)

https://nmap.org

sudo apk add nmap-nping
  • License: custom
  • Architecture: x86_64
  • Source Package: nmap
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Nmap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nmap-nping from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

nmap-nselibs 7.99-r0

network exploration tool and security/port scanner (nselibs)

https://nmap.org

sudo apk add nmap-nselibs
  • License: custom
  • Architecture: x86_64
  • Source Package: nmap
  • normalized package name match
  • Matched by: Nmap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nmap-nselibs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment