GH-EXTENSION(1)
π GH-EXTENSION(1) β like, the whole gh extensions manual, bestie
okay so real quick: this is page one of the GitHub CLI manual, and it's all about gh-extension β managing your gh extensions. buckle up π
β¨ NAME β¨
gh-extension β manage gh extensions π§
β¨ SYNOPSIS β¨
gh extension [flags]
π¦ DESCRIPTION π¦
So. GitHub CLI extensions are literally just repositories that give you extra gh commands. that's it, that's the vibe. π
The name of the extension repository must start with gh-, and it must contain an executable with that same name. every single argument you pass to the gh <extname> invocation gets forwarded straight to the gh-<extname> executable of the extension. no cap, everything gets passed along. β¨
π¨ important: an extension cannot override any of the coreghcommands. if an extension name collides with a coreghcommand, you can still run it withgh extension exec <extname>.
When an extension is executed, gh checks for new versions once every 24 hours and shows you an upgrade notice. wanna turn those notices off? run gh help environment and it'll tell you how. π
Now the serious part, bestie, listen up π«Ά β extensions are not verified, signed, or endorsed by GitHub. when you install or upgrade an extension, you are trusting its publisher. it is your responsibility to review the source and provenance of any extension before you use it. like, actually. pls be careful. π
Wanna see what's out there? the list of available extensions lives at β¨https://github.com/topics/gh-extensionβ© π
π AVAILABLE COMMANDS π
gh-extension-browse(1)β enter a UI for browsing, adding, and removing extensions π¦gh-extension-create(1)β create a new extension β¨gh-extension-exec(1)β execute an installed extension π₯gh-extension-install(1)β install a gh extension from a repository πgh-extension-list(1)β list installed extension commands πgh-extension-remove(1)β remove an installed extension πgh-extension-search(1)β search extensions to the GitHub CLI πgh-extension-upgrade(1)β upgrade installed extensions β
π« ALIASES π«
gh extensionsgh ext
iykyk, both work π
πΈ EXIT CODES πΈ
like the vibe check results, fr fr:
0β successful execution β1β error π2β command canceled π4β authentication required π
π NOTE: specific commands may have additional exit codes. refer to the command's help for more information. don't come for me, I'm just the messenger π«Ά
π SEE ALSO π
gh(1)β the main character, honestly π
that's the whole page, bestie β every flag, every command, every exit code, not a single detail dropped π this gorgeous lil doc is from GitHub CLI v2.102.0, dated Oct 2026, and it's page GH-EXTENSION(1) of the GitHub CLI manual. mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms