# 使用 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
- **版本:** 1.4.10
- **来源摘要:** MMDB file management CLI supporting various operations on MMDB database files
- **主页:** <https://github.com/ipinfo/mmdbctl>
- **仓库:** <https://github.com/ipinfo/mmdbctl>
- **最后更新:** 2026-07-29T17:04:59+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mmdbctl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

- 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


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
