From 8b0278c4d9c5934e82e0c439059a93c6e2a31160 Mon Sep 17 00:00:00 2001 From: Christopher Rucinski Date: Thu, 29 Oct 2020 21:40:05 +0900 Subject: [PATCH 1/2] added Snap installation docs --- docs/install_linux.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/install_linux.md b/docs/install_linux.md index c7a49d967..884173b1f 100644 --- a/docs/install_linux.md +++ b/docs/install_linux.md @@ -117,6 +117,16 @@ 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 +``` +> `Snapd` is required and is available on a wide range of Linux distros. +> +> Find out which distros have it pre-installed and how to install it in the [Snapcraft Installation Docs](https://snapcraft.io/docs/installing-snapd) [releases page]: https://github.com/cli/cli/releases/latest [arch linux repo]: https://www.archlinux.org/packages/community/x86_64/github-cli From e4705395e3bc0aa0807f541bc1415d0ac9d037c5 Mon Sep 17 00:00:00 2001 From: Christopher Rucinski Date: Fri, 30 Oct 2020 01:28:31 +0900 Subject: [PATCH 2/2] added extra notes --- docs/install_linux.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/install_linux.md b/docs/install_linux.md index 884173b1f..7f3a74dc0 100644 --- a/docs/install_linux.md +++ b/docs/install_linux.md @@ -124,9 +124,10 @@ Many Linux distro users can install using Snapd from the [Snap Store](https://sn ```bash sudo snap install --edge gh && snap connect gh:ssh-keys ``` -> `Snapd` is required and is available on a wide range of Linux distros. +> 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) > -> Find out which distros have it 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