Skip to content
Carlos Rafael Ramirez edited this page Sep 18, 2020 · 5 revisions

Install and upgrade

sudo apt update
sudo apt install software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0
sudo apt-add-repository https://cli.github.com/packages
sudo apt update
sudo apt install gh
gh help

Go to any of your cloned repositories and for example type:

gh pr list

Source: (https://github.com/cli/cli/blob/trunk/docs/install_linux.md) For more information: (https://cli.github.com/manual)