macOS
brew install nmaplocal Homebrew formula metadata
安装
brew install nmaplocal Homebrew formula metadata
sudo apk add nmapAlpine Linux edge package indexes · nmap · 来源: dl-cdn.alpinelinux.org
sudo dnf install nmapFedora Rawhide package metadata · nmap · 来源: dl.fedoraproject.org
nix profile install nixpkgs#nmapnixpkgs package indexes · pkgs/by-name/nm/nmap/package.nix · 来源: api.github.com
sudo pacman -S nmapArch Linux sync databases · nmap · 来源: geo.mirror.pkgbuild.com
choco install nmapChocolatey community package catalog · nmap · 来源: community.chocolatey.org
scoop install main/nmapScoop official bucket manifest trees · bucket/nmap.json · 来源: api.github.com
winget install --id Insecure.Nmap -eWindows Package Manager source index · Insecure.Nmap · 来源: cdn.winget.microsoft.com
概览
Port scanning utility for large networks
历史
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.
安全态势
network reconnaissance tool.
red 风险 · 中 置信度 · escape-surveillance-offensive
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ncat | cli | 全局可执行文件 | |
nmap | cli | 全局可执行文件 | |
nping | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:nmap |
|---|---|
| 版本 | 7.99 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nmap |
| 主页 | https://nmap.org/ |
| 仓库 | https://svn.nmap.org/nmap |
| 上游文档 | https://nmap.org/book/toc.html |
| 许可证 | LicenseRef-Homebrew-cannot-represent |
| 源码归档 | https://nmap.org/dist/nmap-7.99.tar.bz2 |
| 最后更新 | 2026-06-22T14:05:38-07:00 |
| Pulse | updated |
| 依赖 | liblinear, libssh2, lua, openssl@3, pcre2, python@3.14 |
| 构建依赖 | python-setuptools |
| macOS 提供的库 | libpcap |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-nselibs来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.