macOS
brew install gumlocal Homebrew formula metadata
安装
brew install gumlocal Homebrew formula metadata
sudo apk add gumAlpine Linux edge package indexes · gum · 来源: dl-cdn.alpinelinux.org
sudo dnf install gumFedora Rawhide package metadata · gum · 来源: dl.fedoraproject.org
nix profile install nixpkgs#gumnixpkgs package indexes · pkgs/by-name/gu/gum/package.nix · 来源: api.github.com
sudo pacman -S gumArch Linux sync databases · gum · 来源: geo.mirror.pkgbuild.com
sudo zypper install gumopenSUSE Tumbleweed package metadata · gum · 来源: download.opensuse.org
scoop install main/gumScoop official bucket manifest trees · bucket/gum.json · 来源: api.github.com
winget install --id charmbracelet.gum -eWindows Package Manager source index · charmbracelet.gum · 来源: cdn.winget.microsoft.com
概览
Tool for glamorous shell scripts
历史
Gum is Charmbracelet's command-line toolkit for adding prompts, pickers, spinners, styled output, and other terminal UI pieces to shell scripts without writing a full Go TUI application.
The GitHub repository was created in June 2022 and the v0.1.0 release was published in July 2022. Gum builds on Charmbracelet's Go terminal UI libraries, especially Bubble Tea-related components, Bubbles, and Lip Gloss, but exposes them as composable shell commands.
The project fits Charmbracelet's broader line of polished terminal tools by turning reusable TUI primitives into Unix-style commands such as `choose`, `input`, `confirm`, `filter`, `spin`, `style`, `table`, and `write`.
The README documents installs through Homebrew, Arch, Fedora, Nix, Flox, WinGet, Scoop, Debian/Ubuntu, RPM repositories, FreeBSD packages, release archives, and `go install`, which shows that the tool crossed from Go developer circles into general shell-scripting package sets.
Because each command writes ordinary stdout/stderr and composes with variables, files, and pipes, Gum was adopted as a small dependency for dotfiles, setup scripts, demos, and internal operations scripts that need friendlier prompts.
Gum commands are used directly in shell scripts: `gum choose` selects from choices, `gum input` reads text, `gum confirm` gates an action, `gum filter` narrows lists, and `gum style` formats terminal output. The official tutorial uses a Conventional Commits helper as a representative script.
Customization is mostly through command flags and environment variables, keeping the package useful in one-off scripts and shared dotfiles without a separate application framework.
Gum is interesting to package maintainers because it packages a Go TUI ecosystem as a single static-ish command suite with broad OS coverage. It also illustrates a modern pattern where a developer-friendly CLI becomes both an end-user utility and a building block for other scripts.
For shell users, it replaces many ad hoc `read`, `select`, `fzf`, spinner, and ANSI-formatting snippets with one package whose behavior can be versioned by the system package manager.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gum | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:gum |
|---|---|
| 版本 | 0.17.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/charmbracelet/gum |
| 仓库 | https://github.com/charmbracelet/gum |
| 最后更新 | 2026-07-27T16:47:26+02:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gum 0.14.4-1+b6
Tool for glamorous shell scripts 🎀
https://github.com/charmbracelet/gum
sudo apt install gumgum
nix profile install nixpkgs#gumgum 0.16.2-r11
Highly configurable utilities for writing interactive shell scripts
https://github.com/charmbracelet/gum
sudo apk add gumgum-bash-completion 0.16.2-r11
Bash completions for gum
https://github.com/charmbracelet/gum
sudo apk add gum-bash-completiongum-doc 0.16.2-r11
Highly configurable utilities for writing interactive shell scripts (documentation)
https://github.com/charmbracelet/gum
sudo apk add gum-docgum-fish-completion 0.16.2-r11
Fish completions for gum
https://github.com/charmbracelet/gum
sudo apk add gum-fish-completiongum-zsh-completion 0.16.2-r11
Zsh completions for gum
https://github.com/charmbracelet/gum
sudo apk add gum-zsh-completiongum 0.17.0-4.fc45
Tool for glamorous shell scripts
https://github.com/charmbracelet/gum
sudo dnf install gumgum 0.17.0-1
A tool for glamorous shell scripts
https://github.com/charmbracelet/gum
sudo pacman -S gumgum 0.16.0-1.7
Tool for glamorous shell scripts
https://github.com/charmbracelet/gum
sudo zypper install gumgum-bash-completion 0.16.0-1.7
Bash Completion for gum
https://github.com/charmbracelet/gum
sudo zypper install gum-bash-completiongum-fish-completion 0.16.0-1.7
Fish Completion for gum
https://github.com/charmbracelet/gum
sudo zypper install gum-fish-completiongum-zsh-completion 0.16.0-1.7
Zsh Completion for gum
https://github.com/charmbracelet/gum
sudo zypper install gum-zsh-completiongum
sudo port install gummain/gum
scoop install main/gumcharmbracelet.gum
winget install --id charmbracelet.gum -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.