# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 miller

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

## 安装

```sh
sudo av install brew:miller
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install miller
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install miller
```

  证据: MacPorts ports tree: textproc/miller/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add miller
```

  证据: Alpine Linux edge package indexes: miller from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install miller
```

  证据: Debian stable package indexes: miller from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install miller
```

  证据: Fedora Rawhide package metadata: miller from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#miller
```

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

- pacman (92%):

```sh
sudo pacman -S miller
```

  证据: Arch Linux sync databases: miller from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install miller
```

  证据: openSUSE Tumbleweed package metadata: miller from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/miller
```

  证据: Scoop official bucket manifest trees: bucket/miller.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

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

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

## 软件包事实

- **软件包键:** brew:miller
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/miller>
- **版本:** 6.20.2
- **来源摘要:** Like sed, awk, cut, join & sort for name-indexed data such as CSV
- **主页:** <https://github.com/johnkerl/miller>
- **仓库:** <https://github.com/johnkerl/miller>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://github.com/johnkerl/miller/releases/download/v6.20.2/miller-6.20.2.tar.gz>
- **最后更新:** 2026-07-29T14:13:07+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mlr (cli)
- mlr (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 6.20.2
- 管理器更新时间: 2026-07-29
- 本地数据: OK
- 上游仓库: https://github.com/johnkerl/miller
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Miller, whose executable is `mlr`, is John Kerl's command-line data-processing tool for record-oriented formats. Kerl's csv,conf,v7 slides describe the origin as roughly 2015: he wanted a record-aware tool because classic Unix commands such as grep, cut, and sort are line-aware and column-index oriented. The project name and design reflect that Unix-toolkit lineage, but with fields addressed by name rather than by position.

### 项目历史

The technical milestone that defines Miller is its key-value record model. Its README describes it as being like awk, sed, cut, join, and sort for CSV, TSV, JSON, JSON Lines, and positionally indexed data; it can add, drop, sort, aggregate, pretty-print, and convert fields while streaming records. The documentation explains that Miller's natural data structure is an insertion-ordered hash map, which lets it handle heterogenous records and format-aware operations such as preserving CSV headers.

### 采用历史

Miller's package-manager footprint is broad: the README lists installation through apt, yum, snap, Homebrew, MacPorts, Chocolatey, WinGet, and Scoop, and the av.db record also maps it across APK, Debian, DNF, Nix, Pacman, Ubuntu, and Zypper. It is used as a shell-pipeline tool for data cleaning, ETL preparation, log processing, statistical summaries, format conversion, and database-query post-processing. Its adoption signals include thousands of GitHub stars, many contributors, and community documentation and talks aimed at CSV and command-line data users.

### 使用方式

A major implementation milestone was the Go line, represented by Miller 6. The performance documentation notes CSV and record I/O improvements in Miller 6, later allocation and garbage-collection reductions, and a portable single-binary Go implementation with no runtime dependencies. This made Miller easier to distribute as a small CLI while keeping its niche as a data-aware companion to the traditional Unix toolkit, jq, xsv, csvtk, q, Nushell, pandas, and SQL databases.

### 来源

- <https://formulae.brew.sh/formula/miller>
- <https://github.com/johnkerl/miller>
- <https://johnkerl.org/miller%2Ccsv%2Cconf%2Cv7/miller%2Ccsv%2Cconf%2Cv7.pdf>
- <https://miller.readthedocs.io/en/latest/>
- <https://miller.readthedocs.io/en/latest/performance/>


## 安全说明

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

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

- Debian apt - miller - 6.13.0-1: normalized package name match | Debian stable package indexes: miller from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | name-indexed data processing tool | https://github.com/johnkerl/miller
- Nix - miller: normalized package name match | nixpkgs package indexes: pkgs/by-name/mi/miller/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - miller - 6.11.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: miller from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | name-indexed data processing tool | https://github.com/johnkerl/miller
- apk - miller - 6.16.0-r6: normalized package name match | Alpine Linux edge package indexes: miller from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Name-indexed data processing tool | https://miller.readthedocs.io/
- apk - miller-doc - 6.16.0-r6: normalized package name match | Alpine Linux edge package indexes: miller-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Name-indexed data processing tool (documentation) | https://miller.readthedocs.io/
- dnf - miller - 6.13.0-9.fc45: normalized package name match | Fedora Rawhide package metadata: miller from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Name-indexed data processing tool | https://github.com/johnkerl/miller
- pacman - miller - 6.20.2-1: normalized package name match | Arch Linux sync databases: miller from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Name-indexed data processing tool | https://github.com/johnkerl/miller
- zypper - miller - 6.19.0+git20260621.299636038-1.3: normalized package name match | openSUSE Tumbleweed package metadata: miller from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Name-indexed data processing tool | http://johnkerl.org/miller/doc
- MacPorts - miller: normalized package name match | MacPorts ports tree: textproc/miller/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/miller: normalized package name match | Scoop official bucket manifest trees: bucket/miller.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Miller.Miller: normalized package name match | Windows Package Manager source index: Miller.Miller from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [qo](https://pkg.so/zh-hans/brew/qo/) - Shares pkgdb curated category or tags: cli, csv, data, json, tsv.
- [xan](https://pkg.so/zh-hans/brew/xan/) - Shares pkgdb curated category or tags: cli, csv, data, data-processing.
- [tidy-viewer](https://pkg.so/zh-hans/brew/tidy-viewer/) - Shares pkgdb curated category or tags: cli, csv, data, tsv.
- [csvtk](https://pkg.so/zh-hans/brew/csvtk/) - Shares pkgdb curated category or tags: cli, csv, data, tsv.
- [oj](https://pkg.so/zh-hans/brew/oj/) - Shares pkgdb curated category or tags: cli, data, go, json.
- [cqlkit](https://pkg.so/zh-hans/brew/cqlkit/) - Shares pkgdb curated category or tags: cli, csv, data, json.
- [dsq](https://pkg.so/zh-hans/brew/dsq/) - Shares pkgdb curated category or tags: cli, csv, data, json.
- [apache-spark](https://pkg.so/zh-hans/brew/apache-spark/) - Shares pkgdb curated category or tags: cli, data, data-processing.
- [rdotjson](https://pkg.so/zh-hans/npm/rdotjson/) - Both packages work with overlapping file formats or content types. Shared terms: cli, csv, data, data-processing, json.
- [csv2json](https://pkg.so/zh-hans/npm/csv2json/) - Both packages work with overlapping file formats or content types. Shared terms: cli, csv, data, data-processing, json.

## Combined YAML source

View the package source record on GitHub. [combined/miller.yml](https://github.com/mxcl/pkgdb/blob/main/combined/miller.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
