Nmap installation instructions
Installation methodInstallation with software package
Installation methods
Installation with software package
FreeBSD (ports)
cd /usr/ports/security/nmap
make install
Linux
Debian
apt install nmap
Kali Linux
The package may be installed by default on Kali Linux. If not, install it manually.
apt install nmap
Ubuntu
apt install nmap
macOS (homebrew)
brew install nmap