# 使用 Homebrew, Nix, winget 安装 ipinfo

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

## 安装

```sh
sudo av install brew:ipinfo
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ipinfo
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ipinfo
```

  证据: nixpkgs package indexes: pkgs/by-name/ip/ipinfo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id ipinfo.ipinfo -e
```

  证据: Windows Package Manager source index: ipinfo.ipinfo from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:ipinfo
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ipinfo>
- **版本:** 1.2
- **来源摘要:** Tool for calculation of IP networks
- **主页:** <https://kyberdigi.cz/projects/ipinfo/>
- **上游文档:** <https://kyberdigi.cz/projects/ipinfo/>
- **许可证:** Beerware
- **源码归档:** <https://kyberdigi.cz/projects/ipinfo/files/ipinfo-1.2.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ipmatch (cli)
- ipmatch (别名)

## 安装行为

- 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
- 本地数据: OK
- 上游仓库: https://kyberdigi.cz/projects/ipinfo/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Kyberdigi ipinfo is a small C utility for IPv4 network calculations, accompanied by `ipmatch` for checking whether an address belongs to a subnet or represents a network or broadcast address.

### 项目历史

The official Kyberdigi page describes ipinfo as a Linux-first C program for calculating network address, broadcast address, wildcard address, prefix length, usable host ranges, and address counts from an IP address and mask.

The project page lists version 1.0 in 2004, version 1.1 in 2013, and version 1.2 in 2014. It also records a license change: version 1.0 under the GPL, and version 1.1 and later under the Beerware license.

### 采用历史

The package is obscure but durable: its value is the classic Unix shape of a tiny calculator binary plus a companion matcher, easy to build with make and gcc and easy for package managers to wrap.

### 使用方式

Users run `ipinfo` with an address and optional mask or prefix to print network-derived values, or use flags to select a specific output such as netmask, prefix, broadcast, host count, or host range.

`ipmatch` handles the related membership test: whether an address belongs to a subnet, is the network address, or is the broadcast address.

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

This is the non-API `ipinfo` package, not IPinfo.io's `ipinfo-cli`. The distinction matters because both expose network-oriented commands, but Kyberdigi ipinfo is a local subnet calculator whose Homebrew executable is `ipmatch` in the supplied metadata.

Its significance is mostly historical and practical: a tiny pre-cloud networking helper with a Beerware license and a name that now collides with a much larger IP intelligence brand.

### 时间线

- 2004: Version 1.0 released.
- 2013: Version 1.1 released.
- 2014: Version 1.2 released.

### Related projects

- ipcalc and sipcalc occupy similar subnet-calculation territory.
- IPinfo CLI is unrelated despite the similar package name in some package managers.

### 来源

- <https://kyberdigi.cz/projects/ipinfo/>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ipinfo
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** ipinfo-cli
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Nix - ipinfo: normalized package name match | nixpkgs package indexes: pkgs/by-name/ip/ipinfo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - ipinfo.ipinfo: normalized package name match | Windows Package Manager source index: ipinfo.ipinfo from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [ipinfo-cli](https://pkg.so/zh-hans/brew/ipinfo-cli/) - Package name indicates the same formula family.
- [ipcalc](https://pkg.so/zh-hans/brew/ipcalc/) - Shares pkgdb curated category or tags: cli, ip-address, network-calculator, networking, subnet.
- [mapcidr](https://pkg.so/zh-hans/brew/mapcidr/) - Shares pkgdb curated category or tags: cidr, cli, networking, subnet.
- [netaddr](https://pkg.so/zh-hans/brew/netaddr/) - Shares pkgdb curated category or tags: cidr, cli, ip-address, networking.
- [range2cidr](https://pkg.so/zh-hans/brew/range2cidr/) - Shares pkgdb curated category or tags: cidr, cli, ip-address, networking.
- [cidrmerge](https://pkg.so/zh-hans/brew/cidrmerge/) - Shares pkgdb curated category or tags: cidr, cli, 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.

## Combined YAML source

View the package source record on GitHub. [combined/ipinfo.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ipinfo.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
- external package-manager database matches
- cross-ecosystem install command graph
