# 使用 Homebrew 安装 cidr2range

查看 cidr2range 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:cidr2range
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cidr2range
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:cidr2range
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cidr2range>
- **版本:** 1.2.0
- **来源摘要:** Converts CIDRs to IP ranges
- **主页:** <https://ipinfo.io>
- **仓库:** <https://github.com/ipinfo/cli>
- **上游文档:** <https://ipinfo.io>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/ipinfo/cli/archive/refs/tags/cidr2range-1.2.0.tar.gz>
- **最后更新:** 2026-07-25T14:20:49-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- cidr2range (cli)
- cidr2range (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.2.0
- 管理器更新时间: 2026-07-25
- 本地数据: OK
- 上游仓库: https://github.com/ipinfo/cli
- 检测到的最新版本: cidr2range-1.2.0 (当前)
## 项目历史与用法

cidr2range is one of the standalone helper binaries shipped from IPinfo's official CLI repository; it converts CIDR prefixes into IP ranges.

### 项目历史

IPinfo's CLI repository was created in October 2020 for the company's official command-line interface. Its README lists cidr2range among the separately shipped subcommand binaries, alongside cidr2ip, range2cidr, range2ip, splitcidr, prips, matchip, and other IP helpers.

### 采用历史

The upstream README says the IPinfo CLI suite is distributed through Homebrew, Ubuntu PPA, Debian or Ubuntu install scripts and debs, FreeBSD ports, Arch AUR, Scoop, Docker, Go install, GitHub release artifacts, and source builds. The batch input records cidr2range itself as a Homebrew formula.

### 使用方式

As a standalone binary, cidr2range handles the narrow conversion from CIDR notation to start-end IP ranges. It is part of a family of small IP list, range, and CIDR utilities distributed with IPinfo CLI releases.

### 为什么软件包爱好者会关心

cidr2range is useful because package managers can expose a tiny, script-friendly IP conversion tool without requiring users to remember a larger CLI subcommand. It is also an example of one upstream Go repository producing several separately packaged command binaries.

### 时间线

- 2020: IPinfo CLI repository created.
- 2021: cidr2range-1.2.0 release published.
- 2020s: IPinfo CLI README documents cidr2range as a separately shipped subcommand binary.

### Related projects

- Related IPinfo helper binaries include cidr2ip, range2cidr, range2ip, splitcidr, prips, matchip, grepip, randip, and mmdb.

### 来源

- <https://github.com/ipinfo/cli#readme>
- <https://api.github.com/repos/ipinfo/cli>
- <https://api.github.com/repos/ipinfo/cli/releases>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [ipinfo-cli](https://pkg.so/zh-hans/brew/ipinfo-cli/) - Shares the same upstream source repository.
- [grepip](https://pkg.so/zh-hans/brew/grepip/) - Shares the same upstream source repository.
- [range2cidr](https://pkg.so/zh-hans/brew/range2cidr/) - Shares the same upstream source repository.
- [cidrmerge](https://pkg.so/zh-hans/brew/cidrmerge/) - Shares pkgdb curated category or tags: cidr, cli, ip-ranges, networking.
- [cidr](https://pkg.so/zh-hans/brew/cidr/) - Shares pkgdb curated category or tags: cidr, cli, networking.
- [grepcidr](https://pkg.so/zh-hans/brew/grepcidr/) - Shares pkgdb curated category or tags: cidr, cli, networking.
- [prips](https://pkg.so/zh-hans/brew/prips/) - Shares pkgdb curated category or tags: cidr, cli, networking.
- [mapcidr](https://pkg.so/zh-hans/brew/mapcidr/) - Shares pkgdb curated category or tags: cidr, cli, networking.
- [c-ares](https://pkg.so/zh-hans/brew/c-ares/) - Shares pkgdb curated category or tags: cli, networking.
- [unbound](https://pkg.so/zh-hans/brew/unbound/) - Shares pkgdb curated category or tags: cli, networking.
- [telnet](https://pkg.so/zh-hans/brew/telnet/) - Shares pkgdb curated category or tags: cli, networking.

## Combined YAML source

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


## 来源

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