diff --git a/docs/install_linux.md b/docs/install_linux.md index c7a49d967..7f3a74dc0 100644 --- a/docs/install_linux.md +++ b/docs/install_linux.md @@ -117,6 +117,17 @@ Nix/NixOS users can install from [nixpkgs](https://search.nixos.org/packages?sho nix-env -iA nixos.gitAndTools.gh ``` +### Snaps + +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) + +```bash +sudo snap install --edge gh && snap connect gh:ssh-keys +``` +> Snaps are auto-updated every 6 hours. `Snapd` is required and is available on a wide range of Linux distros. +> Find out which distros have Snapd pre-installed and how to install it in the [Snapcraft Installation Docs](https://snapcraft.io/docs/installing-snapd) +> +> **Note:** `snap connect gh:ssh-keys` is needed for all authentication and SSH needs. [releases page]: https://github.com/cli/cli/releases/latest [arch linux repo]: https://www.archlinux.org/packages/community/x86_64/github-cli