# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 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>
- **最后更新:** 2026-07-29T14:13:07+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mlr (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 6.20.2
## 项目历史与用法

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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


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