# Install mapcidr with Homebrew, Nix

Subnet/CIDR operation utility. Version 1.1.97 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:mapcidr
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mapcidr
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mapcidr
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ma/mapcidr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:mapcidr
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mapcidr>
- **Version:** 1.1.97
- **Source summary:** Subnet/CIDR operation utility
- **Homepage:** <https://projectdiscovery.io>
- **Repository:** <https://github.com/projectdiscovery/mapcidr>
- **Upstream docs:** <https://github.com/projectdiscovery/mapcidr#readme>
- **License:** MIT
- **Source archive:** <https://github.com/projectdiscovery/mapcidr/archive/refs/tags/v1.1.97.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mapcidr (cli)
- mapcidr (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.1.97
- Local data: ok
- Upstream repository: https://github.com/projectdiscovery/mapcidr
- Upstream latest detected: v1.1.97 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

mapcidr is a ProjectDiscovery Go utility and library for subnet and CIDR operations, including expansion, slicing, aggregation, matching, filtering, sorting, and IP format conversion.

### Project history

The public repository was created in August 2020. The README says mapCIDR was developed to ease load distribution for mass scanning operations and can be used both as an independent CLI and as a Go library.

### Adoption history

mapcidr is distributed through Go install, Homebrew, and other package-manager channels. Its adoption is tied to ProjectDiscovery's security tooling ecosystem, where CIDR expansion and splitting are common preparation steps for scanning and reconnaissance.

### How it is used

Common uses include expanding CIDR ranges to IP lists, slicing large ranges into smaller blocks by CIDR or host count, aggregating IPs back into minimal subnets, filtering or matching IPs, sorting ranges, shuffling IP or IP:port input, and converting IPv4/IPv6 formats.

### Why package nerds care

mapcidr is useful package-manager glue for operators who need predictable, scriptable IP range transformations before passing targets into scanners, probes, or asset-inventory tools.

### Timeline

- 2020: Public GitHub repository created.
- 2024: v1.1.34 release published.
- 2025: v1.1.97 release published.

### Related projects

- ProjectDiscovery maintains mapcidr as part of its broader open-source security tooling ecosystem.

### Sources

- <https://github.com/projectdiscovery/mapcidr>
- <https://github.com/projectdiscovery/mapcidr#readme>
- <https://github.com/projectdiscovery/mapcidr/releases/tag/v1.1.97>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mapcidr
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - mapcidr: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/mapcidr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [cdncheck](https://www.automicvault.com/pkg/brew/cdncheck/) - Shares the same upstream homepage.
- [pdtm](https://www.automicvault.com/pkg/brew/pdtm/) - Shares the same upstream homepage.
- [proxify](https://www.automicvault.com/pkg/brew/proxify/) - Shares the same upstream homepage.
- [shuffledns](https://www.automicvault.com/pkg/brew/shuffledns/) - Shares the same upstream homepage.
- [subfinder](https://www.automicvault.com/pkg/brew/subfinder/) - Shares the same upstream homepage.
- [netmask](https://www.automicvault.com/pkg/brew/netmask/) - Shares av.db curated category or tags: cli, ip-addressing, networking, subnet.
- [cidr](https://www.automicvault.com/pkg/brew/cidr/) - Shares av.db curated category or tags: cidr, cli, ip-addressing, networking.
- [cidr2range](https://www.automicvault.com/pkg/brew/cidr2range/) - Shares av.db curated category or tags: cidr, cli, ip-addressing, networking.
- [cidrmerge](https://www.automicvault.com/pkg/brew/cidrmerge/) - Shares av.db curated category or tags: cidr, cli, ip-addressing, networking.
- [ipinfo](https://www.automicvault.com/pkg/brew/ipinfo/) - Shares av.db curated category or tags: cidr, cli, ip-addressing, networking, subnet.
- [prips](https://www.automicvault.com/pkg/brew/prips/) - Shares av.db curated category or tags: cidr, cli, ip-addressing, networking.
- [range2cidr](https://www.automicvault.com/pkg/brew/range2cidr/) - Shares av.db curated category or tags: cidr, cli, ip-addressing, networking.
- [sipcalc](https://www.automicvault.com/pkg/brew/sipcalc/) - Shares av.db curated category or tags: cli, ip-addressing, networking.

## Combined YAML source

View the package source record on GitHub. [combined/mapcidr.yml](https://github.com/automic-vault/db/blob/main/combined/mapcidr.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
