macOS
brew install choose-rustlocal Homebrew formula metadata
sudo port install chooseMacPorts ports tree · textproc/choose/Portfile · 来源: api.github.com
安装
brew install choose-rustlocal Homebrew formula metadata
sudo port install chooseMacPorts ports tree · textproc/choose/Portfile · 来源: api.github.com
sudo apk add chooseAlpine Linux edge package indexes · choose · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#choosenixpkgs package indexes · pkgs/by-name/ch/choose/package.nix · 来源: api.github.com
sudo pacman -S chooseArch Linux sync databases · choose · 来源: geo.mirror.pkgbuild.com
sudo zypper install chooseopenSUSE Tumbleweed package metadata · choose · 来源: download.opensuse.org
scoop install main/chooseScoop official bucket manifest trees · bucket/choose.json · 来源: api.github.com
概览
Human-friendly and fast alternative to cut and (sometimes) awk
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
choose | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:choose-rust |
|---|---|
| 版本 | 1.3.7 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/theryangeary/choose |
| 仓库 | https://github.com/theryangeary/choose |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
choose
sudo port install choosechoose
nix profile install nixpkgs#choosechoose 1.3.7-r0
A human-friendly and fast alternative to cut and (sometimes) awk
https://github.com/theryangeary/choose
sudo apk add choosechoose 1.3.7-2
A human-friendly and fast alternative to cut and (sometimes) awk
https://github.com/theryangeary/choose
sudo pacman -S choosechoose 1.3.7-1.5
A human-friendly and fast alternative to cut and (sometimes) awk
https://github.com/theryangeary/choose
sudo zypper install choosemain/choose
scoop install main/choose来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.