# cidr mit Homebrew, apt, MacPorts installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cidr in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:cidr
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install cidr
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cidr
```

  Evidenz: MacPorts ports tree: net/cidr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install cidr
```

  Evidenz: Debian stable package indexes: cidr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Paketfakten

- **Paketschlüssel:** brew:cidr
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/cidr>
- **Version:** 2.3.0
- **Quellzusammenfassung:** CLI to perform various actions on CIDR ranges
- **Homepage:** <https://github.com/bschaatsbergen/cidr>
- **Repository:** <https://github.com/bschaatsbergen/cidr>
- **Lizenz:** MIT
- **Quellarchiv:** <https://github.com/bschaatsbergen/cidr/archive/refs/tags/v2.3.0.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-27T22:04:00+02:00
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- cidr (cli)
- cidr (Alias)

## Build-Abhängigkeiten

- go

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 2.3.0
- Manager aktualisiert: 2026-07-27
- lokale Daten: OK
- Upstream-Repository: https://github.com/bschaatsbergen/cidr
- neueste erkannte Version: v2.3.0 (aktuell)
## Projektgeschichte und Nutzung

cidr is a small Go command-line tool for inspecting, counting, checking, and subdividing IPv4 and IPv6 CIDR prefixes.

### Projektgeschichte

The GitHub repository was created in September 2022, and the first GitHub release followed that month. The README defines the tool around CIDR explanation, address containment, address counting, overlap checks, and division into smaller networks.

### Adoptionsgeschichte

The README documents Homebrew installation, Debian and Ubuntu packages for newer releases, and prebuilt binaries for Linux, macOS, and Windows. The batch input also records MacPorts packaging.

### Wie es verwendet wird

Typical commands include explaining a CIDR range, testing whether an address belongs to a range, counting addresses, checking whether two prefixes overlap, and dividing a prefix into distinct networks. The README examples cover both IPv4 and IPv6.

### Warum Paket-Nerds sich dafür interessieren

cidr is package-nerd useful because it packages common subnet arithmetic into a simple cross-platform CLI, replacing shell snippets or ad hoc web calculators in scripts, package tests, and network automation.

### Zeitleiste

- 2022: Public GitHub repository and v0.1.0 release.
- 2023: v1.x releases established the CLI line.
- 2024: v2.0.0 released.
- 2025: v2.3.0 released.

### Related projects

- Related tools in this batch include cidr2range, cidrmerge, and IPinfo CLI's IP-range helper binaries.

### Quellen

- <https://github.com/bschaatsbergen/cidr#readme>
- <https://api.github.com/repos/bschaatsbergen/cidr>
- <https://api.github.com/repos/bschaatsbergen/cidr/releases>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cidr
- **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

## Andere Paketmanager-Einträge

- Debian apt - cidr - 2.2.0-2+b9: normalized package name match | Debian stable package indexes: cidr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simplifies IPv4/IPv6 CIDR network prefix management | https://github.com/bschaatsbergen/cidr
- MacPorts - cidr: normalized package name match | MacPorts ports tree: net/cidr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/de/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/de/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://pkg.so/de/brew/go/) - Build dependency declared by Homebrew.
- [prips](https://pkg.so/de/brew/prips/) - Shares pkgdb curated category or tags: cidr, cli, ip-addresses, networking.
- [cidrmerge](https://pkg.so/de/brew/cidrmerge/) - Shares pkgdb curated category or tags: cidr, cli, networking.
- [grepcidr](https://pkg.so/de/brew/grepcidr/) - Shares pkgdb curated category or tags: cidr, cli, networking.
- [mapcidr](https://pkg.so/de/brew/mapcidr/) - Shares pkgdb curated category or tags: cidr, cli, networking.
- [cidr2range](https://pkg.so/de/brew/cidr2range/) - Shares pkgdb curated category or tags: cidr, cli, networking.
- [c-ares](https://pkg.so/de/brew/c-ares/) - Shares pkgdb curated category or tags: cli, networking.
- [unbound](https://pkg.so/de/brew/unbound/) - Shares pkgdb curated category or tags: cli, networking.
- [telnet](https://pkg.so/de/brew/telnet/) - Shares pkgdb curated category or tags: cli, networking.
- [asnmap](https://pkg.so/de/brew/asnmap/) - Local package facts share a topical domain. Shared terms: cidr, cli, networking, ranges.
- [dev-ip](https://pkg.so/de/npm/dev-ip/) - Local package facts share a topical domain. Shared terms: addresses, cli, ip-addresses, networking.
- [changesets-gitlab](https://pkg.so/de/npm/changesets-gitlab/) - Local package facts share a topical domain. Shared terms: actions, cli, networking.

## Combined YAML source

View the package source record on GitHub. [combined/cidr.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cidr.yml)


## Quellen

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