Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

install 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
 
PREVIOUS NEXT
Tagged: #install #github #cli #debian
ADD COMMENT
Topic
Name
6+3 =