# 使用 Homebrew, Nix 安装 mmdbctl

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

## 安装

```sh
sudo av install brew:mmdbctl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mmdbctl
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mmdbctl
```

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

## 软件包事实

- **软件包键:** brew:mmdbctl
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mmdbctl>
- **版本:** 1.4.10
- **来源摘要:** MMDB file management CLI supporting various operations on MMDB database files
- **主页:** <https://github.com/ipinfo/mmdbctl>
- **仓库:** <https://github.com/ipinfo/mmdbctl>
- **上游文档:** <https://github.com/ipinfo/mmdbctl/blob/main/README.md>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/ipinfo/mmdbctl/archive/refs/tags/mmdbctl-1.4.10.tar.gz>
- **最后更新:** 2026-04-13T18:27:42Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- mmdbctl (cli)
- mmdbctl (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

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

mmdbctl is an IPinfo-maintained command-line tool for working with MaxMind DB (MMDB) files, the binary database format commonly used for IP geolocation and network metadata. Its project documentation presents it as a management CLI rather than only a lookup utility: it can read records for IPs, import CSV/TSV/JSON-style source data into MMDB, export MMDB data, diff two databases, print metadata, verify file validity, and install shell completions.

### 使用方式

Its practical niche is the production and inspection side of the MMDB ecosystem. IPinfo community documentation shows it being used to convert IPinfo CSV database downloads into MMDB files with `mmdbctl import --in data.csv --out data.mmdb`, which is the kind of workflow that separates it from lookup-only tools such as MaxMind's mmdblookup or mmdbinspect. Packaging through Homebrew and Nix makes it a small infrastructure utility for developers who maintain private IP intelligence databases or need to transform vendor data into the MMDB format.

### 来源

- <https://community.ipinfo.io/t/convert-ipinfo-s-csv-database-to-mmdb-using-mmdbctl/73>
- <https://formulae.brew.sh/formula/mmdbctl>
- <https://github.com/ipinfo/mmdbctl>


## 安全说明

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:** mmdbctl
- **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

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

- Nix - mmdbctl: normalized package name match | nixpkgs package indexes: pkgs/by-name/mm/mmdbctl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [mmdbinspect](https://www.automicvault.com/zh-hans/pkg/brew/mmdbinspect/) - Shares av.db curated category or tags: cli, database-tools, geoip, maxmind-db, mmdb.
- [geoip2fast](https://www.automicvault.com/zh-hans/pkg/brew/geoip2fast/) - Shares av.db curated category or tags: cli, geoip, networking.
- [geoipupdate](https://www.automicvault.com/zh-hans/pkg/brew/geoipupdate/) - Shares av.db curated category or tags: cli, geoip, networking.
- [activemq](https://www.automicvault.com/zh-hans/pkg/brew/activemq/) - Shares av.db curated category or tags: cli, networking.
- [adns](https://www.automicvault.com/zh-hans/pkg/brew/adns/) - Shares av.db curated category or tags: cli, networking.
- [aerleon](https://www.automicvault.com/zh-hans/pkg/brew/aerleon/) - Shares av.db curated category or tags: cli, networking.
- [ahcpd](https://www.automicvault.com/zh-hans/pkg/brew/ahcpd/) - Shares av.db curated category or tags: cli, networking.
- [airshare](https://www.automicvault.com/zh-hans/pkg/brew/airshare/) - Shares av.db curated category or tags: cli, networking.
- [audiosprite](https://www.automicvault.com/zh-hans/pkg/npm/audiosprite/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, database, file, files, networking.

## Combined YAML source

View the package source record on GitHub. [combined/mmdbctl.yml](https://github.com/automic-vault/db/blob/main/combined/mmdbctl.yml)


## 来源

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