Installation Methods for GitHub CLI

Search for a command to run...

No comments yet. Be the first to comment.
FYI: This is experimental and may not work on your system.

Hey all! I made this guide after getting Starship successfully working on Bash, but zsh would refuse to accept the init script. Step 0 - Set a custom password This step is not required if you've already set a custom password for your Crostini contain...

If you've ever coded for an Arduino, you're probably familiar with the Arduino IDE. Is your IDE just not uploading your sketch? Are you getting an error such as this? If so, the fix is quite simple. First, locate the Tools section on the top bar of ...

Hey all! This is a quick one, but I use command aliases all the time and they make my life so much easier when I'm in the terminal. Let's get started! 1. Opening the .bashrc file The .bashrc file is short for "bash run commands". It can be located in...

GitHub CLI is a wonderful new tool released by GitHub in an effort to bring GitHub to the terminal. In this tutorial, I will be showing you how to setup, install and use some basic features of GitHub CLI. Installation Because of the amount of install...

You can install GitHub CLI in quite a few ways, I will be going over each OS in this article.
winget install gh
scoop install gh
choco install gh
You can download the compiled MSI file from the releases page.
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
sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
sudo dnf install gh
sudo zypper addrepo https://cli.github.com/packages/rpm/gh-cli.repo
sudo zypper ref
sudo zypper install gh
sudo pacman -S github-cli
pkg install gh
emerge -av github-cli
kiss b github-cli && kiss i github-cli
sudo snap install --edge gh && snap connect gh:ssh-keys
nix-env -iA nixos.gitAndTools.gh