pkg.soopen package index

brew / rank 5903

Install cidr with Homebrew, apt, MacPorts

CLI to perform various actions on CIDR ranges. Version 2.3.0 via Homebrew; verified 2026-07-27. Also installable with debian: sudo apt install cidr.

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 bottle metadata was recorded.

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
cidrexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version2.3.0
manager updated2026-07-27
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:cidr
Version2.3.0
Package managerHomebrew
Homepagehttps://github.com/bschaatsbergen/cidr
Repositoryhttps://github.com/bschaatsbergen/cidr
Last updated2026-07-27T22:04:00+02:00
Pulseupdated
Bottlenot recorded
Servicenone declared

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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation