GH-EXTENSION-EXEC(1)

✨ NAME ✨

Okay so bestie, welcome to the GH-EXTENSION-EXEC(1) page from the GitHub CLI manual πŸ’– β€” this is literally all about gh-extension-exec, aka Execute an installed extension. Periodt.


πŸŽ€ SYNOPSIS πŸŽ€

gh extension exec <name> [args] [flags]

🌸 DESCRIPTION 🌸

So you wanna run an extension using its short name? Say less πŸ’…. If the extension repo is owner/gh-extension, then you should pass extension. Iconic. You can use this command when the short name conflicts with a core gh command β€” no cap, that's the whole vibe check πŸ¦‹.

All arguments after the extension name get forwarded straight to the executable of the extension. The way that forwarding works is honestly giving main character energy ✨.


πŸ’€ EXIT CODES πŸ’€

  • 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. iykyk πŸ‘‘

🧚 EXAMPLE 🧚

# Execute a label extension instead of the core gh label command
$ gh extension exec label

🌈 SEE ALSO 🌈


That's the whole page, bestie β€” slay πŸ’…βœ¨ This gorgeous lil manual page is from GitHub CLI v2.102.0, dated Oct 2026. Mwah πŸ’‹ see ya! πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from