GH-EXTENSION(1) GitHub CLI manual GH-EXTENSION(1)

gh-extension - Manage gh extensions

gh extension [flags]

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>.

For the list of available extensions, see ⟨https://github.com/topics/gh-extension⟩.

Enter a UI for browsing, adding, and removing extensions

Create a new extension

Execute an installed extension

Install a gh extension from a repository

List installed extension commands

Remove an installed extension

Search extensions to the GitHub CLI

Upgrade installed extensions

gh(1)

Nov 2024