A GitHub CLI extension to upgrade gh itself
To install gh-upgrade run the following command:
gh extension install norwd/gh-upgradeTo upgrade gh-upgrade run the following command:
gh extension upgrade norwd/gh-upgradeTo uninstall gh-upgrade run the following command:
gh extension remove norwd/gh-upgradeRun gh upgrade at any time to update gh to the latest available version.