🍺 BREW Explorer

← all formulae

gum

brew install gum v0.17.0 MIT

Go command-line tool that adds interactive prompts and formatted output to shell scripts without coding.

Why you might care

Build polished CLI workflows with prompts, menus, and styled text directly from bash—no need to write Go. Great for dotfiles, commit hooks, and interactive scripts where you want TUI components (choice, input, confirm, file picker) with minimal shell logic. Single binary, zero runtime dependencies.

Categories

Alternatives

dialog zenity fzf whiptail
3.7k
30-day installs · #727
13.0k
90-day · #704
33.1k
365-day · #841
23.9k
★ GitHub stars · updated 5d ago

Build dependencies

go

GitHub topics

bash shell

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "dialog",
    "zenity",
    "fzf",
    "whiptail"
  ],
  "build_dependencies": [
    "go"
  ],
  "categories": [
    "shell",
    "terminal-utility"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Tool for glamorous shell scripts",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:30+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "gum",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-15T09:07:15Z",
  "github_readme_excerpt": "# Gum\n\n\u003cp\u003e\n    \u003ca href=\"https://stuff.charm.sh/gum/nutritional-information.png\" target=\"_blank\"\u003e\u003cimg src=\"https://stuff.charm.sh/gum/gum.png\" alt=\"Gum Image\" width=\"450\" /\u003e\u003c/a\u003e\n    \u003cbr\u003e\u003cbr\u003e\n    \u003ca href=\"https://github.com/charmbracelet/gum/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/release/charmbracelet/gum.svg\" alt=\"Latest Release\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://pkg.go.dev/github.com/charmbracelet/gum?tab=doc\"\u003e\u003cimg src=\"https://godoc.org/github.com/golang/gddo?status.svg\" alt=\"Go Docs\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/charmbracelet/gum/actions\"\u003e\u003cimg src=\"https://github.com/charmbracelet/gum/workflows/build/badge.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nA tool for glamorous shell scripts. Leverage the power of\n[Bubbles](https://github.com/charmbracelet/bubbles) and [Lip\nGloss](https://github.com/charmbracelet/lipgloss) in your scripts and aliases\nwithout writing any Go code!\n\n\u003cimg alt=\"Shell running the ./demo.sh script\" width=\"600\" src=\"https://vhs.charm.sh/vhs-1qY57RrQlXCuydsEgDp68G.gif\"\u003e\n\nThe above example is running from a single shell script ([source](./examples/demo.sh)).\n\n## Tutorial\n\nGum provides highly configurable, ready-to-use utilities to help you write\nuseful shell scripts and dotfile aliases with just a few lines of code.\nLet\u0027s build a simple script to help you write\n[Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/#summary)\nfor your dotfiles.\n\nAsk for the commit type with gum choose:\n\n```bash\ngum choose \"fix\" \"feat\" \"docs\" \"style\" \"refactor\" \"test\" \"chore\" \"revert\"\n```\n\n\u003e [!NOTE]\n\u003e This command itself will print to stdout which is not all that useful. To make use of the command later on you can save the stdout to a `$VARIABLE` or `file.txt`.\n\nPrompt for the scope of these changes:\n\n```bash\ngum input --placeholder \"scope\"\n```\n\nPrompt for the summary and description of changes:\n\n```bash\ngum input --value \"$TYPE$SCOPE: \" --placeholder \"Summary of this change\"\ngum write --placeholder \"Details of this change\"\n```\n\nConfirm before committ",
  "github_repo": "charmbracelet/gum",
  "github_stars": 23897,
  "github_topics": [
    "bash",
    "shell"
  ],
  "homepage": "https://github.com/charmbracelet/gum",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 3719,
  "installs_365d": 33087,
  "installs_90d": 13034,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": "2026-06-20T23:46:40+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "gum",
  "oldnames": [],
  "one_liner": "Go command-line tool that adds interactive prompts and formatted output to shell scripts without coding.",
  "optional_dependencies": [],
  "rank_30d": 727,
  "rank_365d": 841,
  "rank_90d": 704,
  "raw_hash": "7e29acfd30231c04",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/gum.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "0.17.0",
  "versioned_formulae": [],
  "why_use_this": "Build polished CLI workflows with prompts, menus, and styled text directly from bash\u2014no need to write Go. Great for dotfiles, commit hooks, and interactive scripts where you want TUI components (choice, input, confirm, file picker) with minimal shell logic. Single binary, zero runtime dependencies."
}