# 使用 Homebrew 安装 cidr2range

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cidr2range
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:cidr2range
- **软件包管理器:** Homebrew
- **版本:** 1.2.0
- **来源摘要:** Converts CIDRs to IP ranges
- **主页:** <https://ipinfo.io>
- **仓库:** <https://github.com/ipinfo/cli>
- **最后更新:** 2026-07-25T14:20:49-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cidr2range (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 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


## 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
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
