From 33f7d770f30b21439e59791d3bc626923d67744a Mon Sep 17 00:00:00 2001 From: Dhruvil Dave <43331416+dhruvildave@users.noreply.github.com> Date: Thu, 10 Sep 2020 11:55:36 +0530 Subject: [PATCH] Add opensuse zypper installation steps --- docs/install_linux.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/install_linux.md b/docs/install_linux.md index 30052d808..4a21c0094 100644 --- a/docs/install_linux.md +++ b/docs/install_linux.md @@ -43,8 +43,20 @@ sudo dnf install gh ### openSUSE/SUSE Linux (zypper) -It's possible that https://cli.github.com/packages/rpm/gh-cli.repo will work with zypper, but -this hasn't been tested. +Install: + +```bash +sudo zypper addrepo https://cli.github.com/packages/rpm/gh-cli.repo +sudo zypper ref +sudo zypper install gh +``` + +Upgrade: + +```bash +sudo zypper ref +sudo zypper update gh +``` ## Manual installation