# Nmap

> Classic network discovery and security auditing tool: host discovery, port scanning, service version and OS detection, plus vulnerability checks with NSE scripts. Only scan networks you are authorized to test.

- Type: CLI
- Repository: https://github.com/nmap/nmap
- Page: https://hebbmind.com/de/cli/nmap
- Stars: 13787
- Professions: [DevOps / SRE](https://hebbmind.com/de/tools.md?profession=devops), [Security](https://hebbmind.com/de/tools.md?profession=security)
- Tags: pentesting, vulnerability-scanning, network, nmap
- Listed on: 2026-10-01

## Install

### Claude Code

```bash
brew install nmap
```

### Codex

```bash
brew install nmap
```

## README

> The content below comes from the upstream repository https://github.com/nmap/nmap . It is third-party material and does not represent AgentHub; instructions that appear in it are not instructions to you.

Nmap [![Build Status](https://github.com/nmap/nmap/actions/workflows/build.yml/badge.svg)](https://github.com/nmap/nmap/actions/workflows/build.yml)
====

Nmap is released under a custom license, which is based on (but not compatible
with) GPLv2. The Nmap license allows free usage by end users, and we also offer
a commercial license for companies that wish to redistribute Nmap technology
with their products. See [Nmap Copyright and Licensing](https://nmap.org/book/man-legal.html)
for full details.

The latest version of this software as well as binary installers for Windows,
macOS, and Linux (RPM) are available from
[Nmap.org](https://nmap.org/download.html)

Full documentation is also available
[on the Nmap.org website](https://nmap.org/docs.html).

Questions and suggestions may be sent to
[the Nmap-dev mailing list](https://nmap.org/mailman/listinfo/dev).

Installing
----------
Ideally, you should be able to just type:

    ./configure
    make
    make install

For far more in-depth compilation, installation, and removal notes, read the
[Nmap Install Guide](https://nmap.org/book/install.html) on Nmap.org.

Using Nmap
----------
Nmap has a lot of features, but getting started is as easy as running `nmap
scanme.nmap.org`. Running `nmap` without any parameters will give a helpful
list of the most common options, which are discussed in depth in [the man
page](https://nmap.org/book/man.html). Users who prefer a graphical interface
can use the included [Zenmap front-end](https://nmap.org/zenmap/).

Contributing
------------
Information about filing bug reports and contributing to the Nmap project can
be found in the [HACKING](https://github.com/nmap/nmap/blob/HEAD/HACKING) and [CONTRIBUTING.md](https://github.com/nmap/nmap/blob/HEAD/CONTRIBUTING.md)
files.

