Automic VaultAutomic Vault

brew

Install cidr with Homebrew, apt, MacPorts

CLI to perform various actions on CIDR ranges. Version 2.3.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cidr

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install cidr

MacPorts ports tree · net/cidr/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install cidr

Debian stable package indexes · cidr · source: deb.debian.org

overview

Package summary

CLI to perform various actions on CIDR ranges

Commands and aliases

  • cidr

history

Project history and usage

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

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
cidrcliglobal executable

freshness

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

page generated2026-07-08
manager version2.3.0
manager updated
local dataok
upstreamcurrent
latest detectedv2.3.0

https://github.com/bschaatsbergen/cidr

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:cidr
Version2.3.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cidr
Homepagehttps://github.com/bschaatsbergen/cidr
Repositoryhttps://github.com/bschaatsbergen/cidr
Upstream docshttps://github.com/bschaatsbergen/cidr#readme
LicenseMIT
Source archivehttps://github.com/bschaatsbergen/cidr/archive/refs/tags/v2.3.0.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecidr
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

cidr 2.2.0-2+b9

Simplifies IPv4/IPv6 CIDR network prefix management

https://github.com/bschaatsbergen/cidr

sudo apt install cidr
  • Section: net
  • Architecture: amd64
  • Source Package: cidr
  • 1 dependencies
  • normalized package name match
  • Matched by: Cidr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cidr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
MacPorts95%

cidr

sudo port install cidr
  • normalized package name match
  • Matched by: Cidr
MacPorts ports tree · api.github.com · MacPorts ports tree: net/cidr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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