1GH-EXTENSION-INSTALL(1)        GitHub CLI manual       GH-EXTENSION-INSTALL(1)
2
3
4

NAME

6       gh-extension-install - Install a gh extension from a repository
7
8
9

SYNOPSIS

11       gh extension install <repository> [flags]
12
13
14

DESCRIPTION

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

OPTIONS

34       --force
35              force upgrade extension, or ignore if latest already installed
36
37
38       --pin <string>
39              pin extension to a release tag or commit ref
40
41
42

EXAMPLE

44              $ gh extension install owner/gh-extension
45              $ gh extension install https://git.example.com/owner/gh-extension
46              $ gh extension install .
47
48
49
50
51

SEE ALSO

53       gh-extension(1)
54
55
56
57                                   Oct 2023            GH-EXTENSION-INSTALL(1)
Impressum