how to install gihb gh code example
Example 1: install gh
brew install gh # With Homebrew
Example 2: 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