---
name: "gh-extension"
section: "1"
platform: "linux"
package: "github-cli"
version: "2.102.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gh-extension"
---

# gh-extension(1)

Manage gh extensions

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

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

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

## AVAILABLE COMMANDS

- **[gh-extension-browse(1)](/gh-extension-browse/1.md)**

  Enter a UI for browsing, adding, and removing extensions

- **[gh-extension-create(1)](/gh-extension-create/1.md)**

  Create a new extension

- **[gh-extension-exec(1)](/gh-extension-exec/1.md)**

  Execute an installed extension

- **[gh-extension-install(1)](/gh-extension-install/1.md)**

  Install a gh extension from a repository

- **[gh-extension-list(1)](/gh-extension-list/1.md)**

  List installed extension commands

- **[gh-extension-remove(1)](/gh-extension-remove/1.md)**

  Remove an installed extension

- **[gh-extension-search(1)](/gh-extension-search/1.md)**

  Search extensions to the GitHub CLI

- **[gh-extension-upgrade(1)](/gh-extension-upgrade/1.md)**

  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

**[gh(1)](/gh/1.md)**
