Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

Install Nmap on Windows

Download the Nmap installer, choose the components and check the install.

Windows Hosting2 min read6 steps9 screenshots
Note: Scan only networks and hosts that you own or may test. Scanning other people's systems can be illegal.

About Nmap

Nmap is a free network scanner. It helps you with:

  1. Network discovery. Find the devices and services on a network.
  2. Port scanning. See which ports are open and what runs on them.
  3. Operating system detection. Guess the OS of a host.
  4. Vulnerability checks with the Nmap scripts.

Requirements

  • Windows 7 or later.
  • Administrator rights to install it.

Step 1: Download Nmap

Open the official Nmap website (nmap.org), go to Download and download the latest stable Windows installer (nmap-x.xx-setup.exe).

The Nmap download page

Step 2: Run the installer

  1. Open the file in your Downloads folder.
    The Nmap installer
  2. If Windows asks for permission, click Yes. Accept the license agreement.
    The Nmap license

Step 3: Choose the components

  • Nmap core files (needed).
  • Npcap, the packet capture driver (needed for most scans).
  • Zenmap, the graphical interface (optional, recommended for beginners).
  • Ncat, Ndiff and Nping. Extra tools.
    Choosing the components

Step 4: Choose the install folder

Browsing for the Nmap location

Step 5: Add Nmap to the PATH (if it is not added)

The installer normally does it. If nmap is not found later, add the install folder (for example C:\Program Files (x86)\Nmap) to the PATH under Environment Variables.

The system variables
Editing the Path

Step 6: Finish and check

Complete the installer (it installs Npcap too).

The Nmap setup is complete

Open a new Command Prompt:

nmap --version
The Nmap version

First scans

Scan your own computer:

nmap localhost

Scan the common ports of a host you own:

nmap 192.168.1.10

Detect service versions:

nmap -sV 192.168.1.10

Learn more

  • Scan types, such as SYN and UDP scans.
  • Flags and filters to fine-tune a scan.
  • Scripts (NSE) to automate checks.

Quick recap

  • Download the Windows installer from nmap.org and keep Npcap ticked.
  • Check with nmap --version.
  • Scan only what you may test.