1GH-EXTENSION-INSTALL(1) GitHub CLI manual GH-EXTENSION-INSTALL(1)
2
3
4
6 gh-extension-install - Install a gh extension from a repository
7
8
9
11 gh extension install <repository> [flags]
12
13
14
16 Install a GitHub repository locally as a GitHub CLI extension.
17
18
19 The repository argument can be specified in "owner/repo" format as well
20 as a full URL. The URL format is useful when the repository is not
21 hosted on github.com.
22
23
24 To install an extension in development from the current directory, use
25 "." as the value of the repository argument.
26
27
28 See the list of available extensions at https://github.com/topics/gh-
29 extension ⟨https://github.com/topics/gh-extension⟩.
30
31
32
34 --pin <string>
35 pin extension to a release tag or commit ref
36
37
38
40 $ gh extension install owner/gh-extension
41 $ gh extension install https://git.example.com/owner/gh-extension
42 $ gh extension install .
43
44
45
46
47
49 gh-extension(1)
50
51
52
53 Jan 2023 GH-EXTENSION-INSTALL(1)