Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
Downloading Nmap

Nmap and Zenmap (the graphical front end) are available in several versions and formats. Recent source releases and binary packages are described below. Older version (and sometimes newer test releases) are available from the dist directory (and really old ones are in dist-old). For the more security-paranoid (smart) users, GPG detached signatures and SHA-1 hashes for each release are available in the sigs directory (verification instructions). Before downloading, be sure to read the relevant sections for your platform from the Nmap Install Guide. The most important changes (features, bugfixes, etc) in each Nmap version are described in the Changelog. Using Nmap is covered in the Reference Guide, and don't forget to read the other available documentation, particularly the new book Nmap Network Scanning!

Nmap users are encouraged to subscribe to the Nmap-hackers mailing list. It is a low volume (4 posts in 2009), moderated list for the most important announcements about Nmap, Insecure.org, and related projects. You can join more than 75,000 current subscribers by submitting your email address here:


(or subscribe with custom options from the Nmap-hackers list info page)

Nmap is distributed with source code under the terms of the GNU General Public License, with certain clarifications and exceptions noted in the copyright page.

Source Code Distribution (in case you wish to compile Nmap yourself)

This is the traditional compile-it-yourself format. The Nmap tarball compiles under Linux, Mac OS X, Windows, and many UNIX platforms (Solaris, Free/Net/OpenBSD, etc.) It includes Zenmap, the GUI frontend. Nmap is now offered in bzip2 format as well as traditional gzip.

Detailed compilation instructions and options are provided here, though this usually does the trick for Linux/BSD/Solaris systems:

bzip2 -cd nmap-5.21.tar.bz2 | tar xvf -
cd nmap-5.21
./configure
make
su root
make install

Instructions are also available for Windows source code compilation.


Latest stable Nmap release tarball: nmap-5.21.tar.bz2 (or gzip compressed)

Troubleshooting:
Mac OS X users: If you wish to compile from source (as opposed to binaries later on this page), you need the Apple Developer Tools. See the Mac OS X Nmap Install page. If the normal "./configure" line above does not work for you, try "./configure CPP=/usr/bin/cpp". If you think the "configure" script is looping, be sure your computer's clock/date is set correctly and wait at least 10 minutes for completion before reporting it. If you still have trouble, please report it.

Microsoft Windows binaries

Nmap runs on all versions of Windows since NT, including 2K, XP, Vista, Windows 7, and Server 2003/2008. Please read the Windows section of the Install Guide for limitations and installation instructions for the Windows version of Nmap. In particular, read about the special Windows 2000 (Win2K) dependencies if you use that platform. You can choose from a self-installer (includes dependencies and also the Zenmap GUI) or the much smaller command-line zip file version.

The Nmap executable Windows installer can handle WinPcap installation, registry performance tweaks, and decompressing the executables and data files into your preferred location. It also includes the Zenmap graphical frontend. Skip all the complexity of the Windows zip files with a self-installer:


Latest stable release self-installer: nmap-5.21-setup.exe

We have written post-install usage instructions. Please notify us if you encounter any problems or have suggestions for the installer.

For those who prefer the command-line zip files (Installation Instructions; Usage Instructions), they are still available. The Zenmap graphical interface is not included with these, so you need to run nmap.exe from a DOS/command window. Or you can download and install a superior command shell such as those included with the free Cygwin system. Also, you need to run the Winpcap and Microsoft Visual C++ Redistributable Package installers which are included in the zip file. The main advantage is that these zip files are a fraction of the size of the executable installer:


Latest stable command-line zipfile: nmap-5.21-win32.zip

Nmapwin installer:

Nmapwin has been removed from this download page because it is obsolete. Try Zenmap (included in our installer) instead. By the way, eEye's old NmapNT is even more obsolete, don't use that either.

Troubleshooting

If you have trouble using the Windows version of Nmap (strange error/compile/install/runtime messages) (and you have read the instructions, try the following:

  • Does the error say "INSTMSIA.EXE not found"? Then download and run it from here. If the error asks for "InstMsiW.exe" instead, get it here.
  • You might want to try installing the Windows Network Monitor Driver Protocol.
  • Check for error messages in the Windows event log (On at least WinXP, the Event Viewer can be opened by running "eventvwr").
  • Ensure that you have the latest version of WinPcap installed.
  • Perhaps someone else has reported the problem. Try reading recent Nmap-dev list archives.

If Nmap still doesn't work for you, please send a detailed report the problem.

Linux RPM Source and Binaries

Many popular Linux distributions (Redhat, Mandrake, Suse, etc) use the RPM package management system for quick and easy binary package installation. These may not work with Redhat 9 or earlier due to Libc incompatability issues. We have written a detailed guide to installing our RPM packages, though these simple commands (the second is only necessary if you want the Zenmap GUI too) usually do the trick:

rpm -vhU http://nmap.org/dist/nmap-5.21-1.i386.rpm
rpm -vhU http://nmap.org/dist/zenmap-5.21-1.noarch.rpm
You can also download and install the RPMs yourself:

Latest stable release:
i386 Nmap RPM: nmap-5.21-1.i386.rpm
i386 Ncat RPM: ncat-5.21-1.i386.rpm
x86-64 (64-bit Linux only!) Nmap RPM: nmap-5.21-1.x86_64.rpm
x86-64 (64-bit Linux only!) Ncat RPM: ncat-5.21-1.x86_64.rpm
Optional Zenmap GUI (all platforms): zenmap-5.21-1.noarch.rpm
Source RPM (includes Zenmap and Ncat): nmap-5.21-1.src.rpm

Mac OS X Binaries

Nmap binaries for Mac OS X are distributed as a disk image file containing an installer. The installer allows installing Nmap, Zenmap, Ncat, and Ndiff. The programs have been tested on Intel and PowerPC computers running Mac OS X 10.4 and later. See the Mac OS X Nmap install page for more details. Latest stable release universal installer: nmap-5.21.dmg

Other Operating Systems

Many other operating systems support Nmap so well that I have no need to create and distribute binary packages myself. You can choose to use the packages below, or compile the source distribution, which is often newer. We have created installation pages for the following platforms:

Linux (all distributions)
Microsoft Windows
Mac OS X
FreeBSD, OpenBSD, and NetBSD
Sun Solaris
Amiga, HP-UX, and Other Platforms

Nmap Site Navigation

Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]