Add instruction for local extension install
This commit is contained in:
@@ -27,9 +27,11 @@ You can find extensions by browsing [repositories with the `gh-extension` topic]
|
||||
|
||||
## Installing extensions
|
||||
|
||||
To install an extension, use the `extensions install` subcommand. Replace the `repo` parameter with the repository of the extension. You can use the full URL, such as `https://github.com/octocat/gh-whoami`, or just the owner and repository, such as `octocat/gh-whoami`. If the owner and repository are used, `gh` will install the extension using the hostname to which `gh` is currently authenticated.
|
||||
To install an extension, use the `extensions install` subcommand. Replace the `repo` parameter with the repository of the extension. You can use the full URL, such as `https://github.com/octocat/gh-whoami`, or just the owner and repository, such as `octocat/gh-whoami`.
|
||||
|
||||
The URL format is useful when installing extensions from a different host. For example, users on {% data variables.product.prodname_ghe_server %} should use the full repository URL to install extensions from GitHub.com or any other host.
|
||||
If the owner and repository are used, `gh` will install the extension using the hostname to which `gh` is currently authenticated. The full URL format is useful when installing extensions from a different host. For example, users on {% data variables.product.prodname_ghe_server %} should use the full repository URL to install extensions from GitHub.com or any other host.
|
||||
|
||||
To install an extension in development from the current directory, use `.` as the value for the `repo` parameter.
|
||||
|
||||
```shell
|
||||
gh extension install <em>repo</em>
|
||||
|
||||
Reference in New Issue
Block a user