macOS
brew install cidrlocal Homebrew formula metadata
sudo port install cidrMacPorts ports tree · net/cidr/Portfile · source: api.github.com
brew
CLI to perform various actions on CIDR ranges. Version 2.3.0 via Homebrew; verified from local package data.
install
brew install cidrlocal Homebrew formula metadata
sudo port install cidrMacPorts ports tree · net/cidr/Portfile · source: api.github.com
sudo apt install cidrDebian stable package indexes · cidr · source: deb.debian.org
overview
CLI to perform various actions on CIDR ranges
history
cidr is a small Go command-line tool for inspecting, counting, checking, and subdividing IPv4 and IPv6 CIDR prefixes.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cidr | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/bschaatsbergen/cidr
install metadata
| Package key | brew:cidr |
|---|---|
| Version | 2.3.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cidr |
| Homepage | https://github.com/bschaatsbergen/cidr |
| Repository | https://github.com/bschaatsbergen/cidr |
| Upstream docs | https://github.com/bschaatsbergen/cidr#readme |
| License | MIT |
| Source archive | https://github.com/bschaatsbergen/cidr/archive/refs/tags/v2.3.0.tar.gz |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cidr 2.2.0-2+b9
Simplifies IPv4/IPv6 CIDR network prefix management
https://github.com/bschaatsbergen/cidr
sudo apt install cidrcidr
sudo port install cidrsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.