gh-extension-install - Man Page

Install a gh extension from a repository

Synopsis

gh extension install <repository> [flags]

Description

Install a GitHub repository locally as a GitHub CLI extension.

The repository argument can be specified in "owner/repo" format as well as a full URL. The URL format is useful when the repository is not hosted on github.com.

To install an extension in development from the current directory, use "." as the value of the repository argument.

See the list of available extensions at https://github.com/topics/gh-extensionhttps://github.com/topics/gh-extension

Example

$ gh extension install owner/gh-extension
$ gh extension install https://git.example.com/owner/gh-extension
$ gh extension install .

See Also

gh-extension(1)

Referenced By

gh-extension(1).

Jan 2022 GitHub CLI manual