# 使用 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
- **版本:** 1.3.7
- **来源摘要:** Human-friendly and fast alternative to cut and (sometimes) awk
- **主页:** <https://github.com/theryangeary/choose>
- **仓库:** <https://github.com/theryangeary/choose>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- choose (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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


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