KeiruaProd

I help my clients acquire new users and make more money with their web businesses. I have ten years of experience with SaaS projects. If that’s something you need help with, we should get in touch!
< Back to article list

Github Cli

GitHub CLI is pretty convenient:

Usage

Github CLI is quite convenient for administrative things:

Updating

I prefer to use the packages from the github releases than to use a package manager. It’s possible to script the updates:

gh release list -R "cli/cli"|rg Latest
GitHub CLI 1.11.0   Latest  v1.11.0 2021-06-03T17:26:21Z

version="1.11.0"
tmpdir=`mktemp`
gh release download v$version -p "*arm64.deb" -D $tmpdir -R "cli/cli"
sudo dpkg -i $tmpdir/gh_$version_linux_arm64.deb

You May Also Enjoy