# Installer cidr avec Homebrew, apt, MacPorts

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cidr pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install cidr
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cidr
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:cidr
- **Gestionnaire de paquets:** Homebrew
- **Version:** 2.3.0
- **Résumé source:** CLI to perform various actions on CIDR ranges
- **Page d'accueil:** <https://github.com/bschaatsbergen/cidr>
- **Dépôt:** <https://github.com/bschaatsbergen/cidr>
- **Dernière mise à jour:** 2026-07-27T22:04:00+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- cidr (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.3.0
## Historique du projet et usages

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

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- 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


## Combined YAML source

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


## Sources

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