GH-EXTENSION(1) | GitHub CLI manual | GH-EXTENSION(1) |
NAME
gh-extension - Manage gh extensions
SYNOPSIS
gh extension [flags]
DESCRIPTION
GitHub CLI extensions are repositories that provide additional gh commands.
The name of the extension repository must start with gh- and it must contain an executable of the same name. All arguments passed to the gh <extname> invocation will be forwarded to the gh-<extname> executable of the extension.
An extension cannot override any of the core gh commands. If an extension name conflicts with a core gh command, you can use gh extension exec <extname>.
When an extension is executed, gh will check for new versions once every 24 hours and display an upgrade notice. See gh help environment for information on disabling extension notices.
For the list of available extensions, see ⟨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 extensions, gh ext
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.
SEE ALSO
Jun 2025 |