📜  gh --version 命令“gh”未找到,-Shell-Bash 代码示例

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

代码示例1
VERSION=`curl  "https://api.github.com/repos/cli/cli/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/' | cut -c2-` 
echo $VERSION