# 使用 Homebrew, apk, MacPorts, Nix, pacman, zypper, scoop 安装 choose-rust

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

## 安装

```sh
sudo av install brew:choose-rust
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install choose-rust
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install choose
```

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

### Linux

- apk (92%):

```sh
sudo apk add choose
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#choose
```

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

- pacman (92%):

```sh
sudo pacman -S choose
```

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

- zypper (92%):

```sh
sudo zypper install choose
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/choose
```

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

## 软件包事实

- **软件包键:** brew:choose-rust
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/choose-rust>
- **版本:** 1.3.7
- **来源摘要:** Human-friendly and fast alternative to cut and (sometimes) awk
- **主页:** <https://github.com/theryangeary/choose>
- **仓库:** <https://github.com/theryangeary/choose>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/theryangeary/choose/archive/refs/tags/v1.3.7.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- choose (cli)
- choose (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.3.7
- 本地数据: OK
- 上游仓库: https://github.com/theryangeary/choose
- 检测到的最新版本: v1.3.7 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

Choose is a Rust command-line text-field selector positioned as a fast, friendlier alternative to common `cut` invocations and some simple `awk` one-liners.

### 项目历史

The GitHub repository was created in September 2019. The README frames the tool around shell ergonomics: Python-like slice syntax, negative indexing, regex separators using Rust regex syntax, and faster behavior than `cut` on sufficiently long inputs.

A v0.1.0 tag appears in September 2019, v1.0.0 in April 2020, and later release lines continued through v1.3.7 in August 2025.

### 采用历史

The upstream README documents installation through Cargo, Homebrew as choose-rust, MacPorts, Arch AUR, and a Fedora/CentOS COPR. Homebrew's formula API reports stable version 1.3.7 and ongoing installs.

### 使用方式

Users invoke `choose` with one or more field selectors, ranges, or slice-like expressions, optionally changing field separators or selecting characters rather than fields. It is aimed at quick interactive and scripted shell data extraction where `awk '{print $1}'` or `cut` syntax feels too heavy.

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

It is a classic modern CLI package-manager entry: a Rust rewrite/rethink of a POSIX-era text utility, distributed through Cargo plus system package managers, and intentionally overlapping with familiar tools rather than replacing them completely.

### 时间线

- 2019: Repository created and v0.1.0 tag appears.
- 2020: v1.0.0 tag appears and v1.3.x releases begin.
- 2024: v1.3.5 and v1.3.6 releases published.
- 2025: v1.3.7 release published; Homebrew stable version reports 1.3.7.

### Related projects

- Directly related tools are `cut` and `awk`, which the README uses as its comparison points. The Rust regex crate is part of its documented separator model, and Cargo is one of its official distribution channels.

### 来源

- <https://github.com/theryangeary/choose#readme>
- <https://github.com/theryangeary/choose/releases>
- <https://formulae.brew.sh/api/formula/choose-rust.json>


## 安全说明

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:** choose-rust
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** choose-gui
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- MacPorts - choose: installed executable or alias match | MacPorts ports tree: textproc/choose/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - choose: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ch/choose/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - choose - 1.3.7-r0: installed executable or alias match | Alpine Linux edge package indexes: choose from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A human-friendly and fast alternative to cut and (sometimes) awk | https://github.com/theryangeary/choose
- pacman - choose - 1.3.7-2: installed executable or alias match | Arch Linux sync databases: choose from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A human-friendly and fast alternative to cut and (sometimes) awk | https://github.com/theryangeary/choose
- zypper - choose - 1.3.7-1.5: installed executable or alias match | openSUSE Tumbleweed package metadata: choose from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A human-friendly and fast alternative to cut and (sometimes) awk | https://github.com/theryangeary/choose
- Scoop - main/choose: installed executable or alias match | Scoop official bucket manifest trees: bucket/choose.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [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.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [sd](https://pkg.so/zh-hans/brew/sd/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, text-processing.
- [decasify](https://pkg.so/zh-hans/brew/decasify/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, text-processing.
- [nkf](https://pkg.so/zh-hans/brew/nkf/) - Shares pkgdb curated category or tags: cli, developer-tools, text-processing.
- [enca](https://pkg.so/zh-hans/brew/enca/) - Shares pkgdb curated category or tags: cli, developer-tools, text-processing.
- [enscript](https://pkg.so/zh-hans/brew/enscript/) - Shares pkgdb curated category or tags: cli, developer-tools, text-processing.
- [sad](https://pkg.so/zh-hans/brew/sad/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, text-processing.
- [rpl](https://pkg.so/zh-hans/brew/rpl/) - Shares pkgdb curated category or tags: cli, developer-tools, text-processing.
- [cmigemo](https://pkg.so/zh-hans/brew/cmigemo/) - Shares pkgdb curated category or tags: cli, developer-tools, text-processing.
- [hck](https://pkg.so/zh-hans/brew/hck/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cut, developer, developer-tools, processing.

## Combined YAML source

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