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

Tool for glamorous shell scripts. Version 0.17.0 via Homebrew; verified 2026-07-27. Also installable with debian: sudo apt install gum.

## 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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
- **Version:** 0.17.0
- **Source summary:** Tool for glamorous shell scripts
- **Homepage:** <https://github.com/charmbracelet/gum>
- **Repository:** <https://github.com/charmbracelet/gum>
- **Last updated:** 2026-07-27T16:47:26+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- gum (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.17.0
## 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

## 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-r11: 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-r11: 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-r11: 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-r11: 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-r11: 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-4.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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.7: normalized package name match | openSUSE Tumbleweed package metadata: gum from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tool for glamorous shell scripts | https://github.com/charmbracelet/gum
- zypper - gum-bash-completion - 0.16.0-1.7: normalized package name match | openSUSE Tumbleweed package metadata: gum-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for gum | https://github.com/charmbracelet/gum
- zypper - gum-fish-completion - 0.16.0-1.7: normalized package name match | openSUSE Tumbleweed package metadata: gum-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for gum | https://github.com/charmbracelet/gum
- zypper - gum-zsh-completion - 0.16.0-1.7: normalized package name match | openSUSE Tumbleweed package metadata: gum-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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


## Combined YAML source

View the package source record on GitHub. [combined/gum.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gum.yml)


## Sources

- 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
