You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/install_linux.md
+28-2Lines changed: 28 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,9 +81,9 @@ Install and upgrade:
81
81
1. Download the `.rpm` file from the [releases page][];
82
82
2. Install the downloaded file: `sudo zypper in gh_*_linux_amd64.rpm`
83
83
84
-
## Community-supported methods
84
+
## Unofficial, Community-supported methods
85
85
86
-
Our team does not directly maintain the following packages or repositories. They are unofficial and we are unable to provide support or guarantees for them.
86
+
The core GitHub CLI team does not maintain the following packages or repositories. They are unofficial and we are unable to provide support or guarantees for them. They are linked here as a convenience and their presence does not imply continued oversight from the CLI core team. Users who choose to use them do so at their own risk.
87
87
88
88
### Arch Linux
89
89
@@ -101,6 +101,21 @@ Android users can install via Termux:
101
101
pkg install gh
102
102
```
103
103
104
+
### Gentoo
105
+
106
+
Gentoo Linux users can install from the [main portage tree](https://packages.gentoo.org/packages/dev-util/github-cli):
107
+
108
+
```bash
109
+
emerge -av github-cli
110
+
```
111
+
112
+
Upgrading can be done by updating the portage tree and then requesting an upgrade:
113
+
114
+
```bash
115
+
emerge --sync
116
+
emerge -u github-cli
117
+
```
118
+
104
119
### Kiss Linux
105
120
106
121
Kiss Linux users can install from the [community repos](https://github.com/kisslinux/community):
@@ -117,6 +132,17 @@ Nix/NixOS users can install from [nixpkgs](https://search.nixos.org/packages?sho
117
132
nix-env -iA nixos.gitAndTools.gh
118
133
```
119
134
135
+
### Snaps
136
+
137
+
Many Linux distro users can install using Snapd from the [Snap Store](https://snapcraft.io/gh) or the associated [repo](https://github.com/casperdcl/cli/tree/snap)
> Snaps are auto-updated every 6 hours. `Snapd` is required and is available on a wide range of Linux distros.
143
+
> Find out which distros have Snapd pre-installed and how to install it in the [Snapcraft Installation Docs](https://snapcraft.io/docs/installing-snapd)
144
+
>
145
+
> **Note:**`snap connect gh:ssh-keys` is needed for all authentication and SSH needs.
0 commit comments