📜  安装 github cli debian - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:44.251000             🧑  作者: Mango

代码示例1
#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