{"schemaVersion":1,"id":"gum","name":"Gum","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/gum/","officialUrl":"https://github.com/charmbracelet/gum","isCatalog":false,"description":"Interactive CLI components for shell scripts: add selection, input, and confirmation without writing your own terminal UI.","tasks":["Add interactive selection to a shell script","Connect Gum prompts to branching in an existing script"],"categoryIds":["software","infrastructure"],"subcategoryIds":["software.cli","infrastructure.developer"],"tags":["Gum","CLI","Development"],"aliases":["charmbracelet/gum","glamorous-shell","gum-tool"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Add interactive selection to a shell script","chooseWhen":["Add interactive selection to a shell script","Connect Gum prompts to branching in an existing script"],"considerInstead":[],"requirements":[],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MIT for the code; dependencies have separate licenses.","Gum provides components; the shell script defines how answers are saved and how the workflow branches."],"faq":[{"question":"What can you use for free in Gum?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with Gum?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for Gum?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with Gum?","answer":"Define the input or parameter choices for the user. Connect Gum prompts to branching in an existing script. Save the working command or script and the result criteria."},{"question":"How do you use Gum selection and confirmation in a shell script?","answer":"The result of input/choose/filter is written to stdout: the script saves it in a variable or file. confirm returns exit code 0 for acceptance and 1 for refusal. filter accepts stdin and supports multiple selected lines; parameters are set through flags and environment variables."}],"related":[],"sources":["https://github.com/charmbracelet/gum","https://raw.githubusercontent.com/charmbracelet/gum/HEAD/README.md","https://raw.githubusercontent.com/charmbracelet/gum/HEAD/LICENSE","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Add interactive selection to a shell script.","inputs":["Project files or environment.","A shell and supported platform."],"steps":["Define the input or parameter choices for the user.","Connect Gum prompts to branching in an existing script.","Save the working command or script and the result criteria."],"checks":["The command correctly handles paths, Unicode, and invalid inputs.","Repeat runs behave predictably; credentials do not appear in the output."]},"sources":["https://github.com/charmbracelet/gum","https://raw.githubusercontent.com/charmbracelet/gum/HEAD/README.md","https://raw.githubusercontent.com/charmbracelet/gum/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Developer CLI","kind":"tool","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/charmbracelet/gum","label":"Official source"},{"url":"https://raw.githubusercontent.com/charmbracelet/gum/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/charmbracelet/gum/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}