Answers for "gh --version Command 'gh' not found,"

0

gh --version Command 'gh' not found,

VERSION=`curl  "https://api.github.com/repos/cli/cli/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/' | cut -c2-` 
echo $VERSION
Posted by: Guest on December-25-2020

Code answers related to "gh --version Command 'gh' not found,"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language