# Install gum with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Tool for glamorous shell scripts. Version 0.17.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:gum
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gum
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gum
```

  Evidence: MacPorts ports tree: devel/gum/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add gum
```

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

- Debian apt (92%):

```sh
sudo apt install gum
```

  Evidence: Debian stable package indexes: gum from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install gum
```

  Evidence: Fedora Rawhide package metadata: gum from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gum
```

  Evidence: nixpkgs package indexes: pkgs/by-name/gu/gum/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S gum
```

  Evidence: Arch Linux sync databases: gum from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install gum
```

  Evidence: openSUSE Tumbleweed package metadata: gum from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/gum
```

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

- winget (92%):

```sh
winget install --id charmbracelet.gum -e
```

  Evidence: Windows Package Manager source index: charmbracelet.gum from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:gum
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gum>
- **Version:** 0.17.0
- **Source summary:** Tool for glamorous shell scripts
- **Homepage:** <https://github.com/charmbracelet/gum>
- **Repository:** <https://github.com/charmbracelet/gum>
- **Upstream docs:** <https://github.com/charmbracelet/gum#readme>
- **License:** MIT
- **Source archive:** <https://github.com/charmbracelet/gum/archive/refs/tags/v0.17.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- gum (cli)
- gum (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.17.0
- Local data: ok
- Upstream repository: https://github.com/charmbracelet/gum
- Upstream latest detected: v0.17.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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`.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 2022: GitHub repository created.
- 2022: v0.1.0 release published.

### Related projects

- Bubble Tea is Charmbracelet's Go framework for terminal applications.
- Bubbles supplies reusable TUI components used by Charmbracelet tools.
- Lip Gloss supplies terminal styling primitives used by Gum.

### Sources

- <https://api.github.com/repos/charmbracelet/gum>
- <https://api.github.com/repos/charmbracelet/gum/releases?per_page=100>
- <https://github.com/charmbracelet/gum>
- <https://raw.githubusercontent.com/charmbracelet/gum/main/README.md>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gum
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - gum - 0.14.4-1+b6: normalized package name match | Debian stable package indexes: gum from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tool for glamorous shell scripts 🎀 | https://github.com/charmbracelet/gum
- Nix - gum: normalized package name match | nixpkgs package indexes: pkgs/by-name/gu/gum/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - gum - 0.16.2-r10: normalized package name match | Alpine Linux edge package indexes: gum from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Highly configurable utilities for writing interactive shell scripts | https://github.com/charmbracelet/gum
- apk - gum-bash-completion - 0.16.2-r10: normalized package name match | Alpine Linux edge package indexes: gum-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for gum | https://github.com/charmbracelet/gum
- apk - gum-doc - 0.16.2-r10: normalized package name match | Alpine Linux edge package indexes: gum-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Highly configurable utilities for writing interactive shell scripts (documentation) | https://github.com/charmbracelet/gum
- apk - gum-fish-completion - 0.16.2-r10: normalized package name match | Alpine Linux edge package indexes: gum-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for gum | https://github.com/charmbracelet/gum
- apk - gum-zsh-completion - 0.16.2-r10: normalized package name match | Alpine Linux edge package indexes: gum-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for gum | https://github.com/charmbracelet/gum
- dnf - gum - 0.17.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: gum from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Tool for glamorous shell scripts | https://github.com/charmbracelet/gum
- pacman - gum - 0.17.0-1: normalized package name match | Arch Linux sync databases: gum from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A tool for glamorous shell scripts | https://github.com/charmbracelet/gum
- zypper - gum - 0.16.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: gum from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tool for glamorous shell scripts | https://github.com/charmbracelet/gum
- zypper - gum-bash-completion - 0.16.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: gum-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash Completion for gum | https://github.com/charmbracelet/gum
- zypper - gum-fish-completion - 0.16.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: gum-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Fish Completion for gum | https://github.com/charmbracelet/gum
- zypper - gum-zsh-completion - 0.16.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: gum-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Zsh Completion for gum | https://github.com/charmbracelet/gum
- MacPorts - gum: normalized package name match | MacPorts ports tree: devel/gum/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/gum: normalized package name match | Scoop official bucket manifest trees: bucket/gum.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - charmbracelet.gum: normalized package name match | Windows Package Manager source index: charmbracelet.gum from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [beads_viewer](https://www.automicvault.com/pkg/brew/beads-viewer/) - Shares av.db curated category or tags: cli, developer-tools, terminal-ui.
- [cdk](https://www.automicvault.com/pkg/brew/cdk/) - Shares av.db curated category or tags: cli, developer-tools, terminal-ui.
- [desed](https://www.automicvault.com/pkg/brew/desed/) - Shares av.db curated category or tags: cli, developer-tools, terminal-ui.
- [dhex](https://www.automicvault.com/pkg/brew/dhex/) - Shares av.db curated category or tags: cli, developer-tools, terminal-ui.
- [diagram](https://www.automicvault.com/pkg/brew/diagram/) - Shares av.db curated category or tags: cli, developer-tools, terminal-ui.
- [dialog](https://www.automicvault.com/pkg/brew/dialog/) - Shares av.db curated category or tags: cli, developer-tools, terminal-ui.
- [difi](https://www.automicvault.com/pkg/brew/difi/) - Shares av.db curated category or tags: cli, developer-tools, terminal-ui.
- [dockly](https://www.automicvault.com/pkg/brew/dockly/) - Shares av.db curated category or tags: cli, developer-tools, terminal-ui.

## Combined YAML source

View the package source record on GitHub. [combined/gum.yml](https://github.com/automic-vault/db/blob/main/combined/gum.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
