KeiruaProd

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

See a typo ? You can suggest a modification on Github.