Installer Github Cli Debian

#This is for the gh command, not for the git command
#Using brew
brew install gh

#Using snap
sudo snap install gh

#Using apt
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0
sudo apt-add-repository https://cli.github.com/packages
#if you get the error: "sudo: apt-add-repository: command not found" run: sudo apt-get install software-properties-common
sudo apt update
sudo apt install gh
k3rsh0k