Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unknown command "attestation" for "gh"

I was trying to upgrade all Homebrew packages with

brew upgrade

and encountered the following error:

unknown command "attestation" for "gh"
like image 737
Sagar Avatar asked Nov 07 '25 06:11

Sagar


1 Answers

I hadn't updated or upgraded Homebrew in a while. I updated Homebrew first using

brew update

and then tried to upgrade all packages. It appears brew is using gh attestation now, but the version of gh I had installed did not have this subcommand.

To fix this, I manually upgraded gh first, and then upgraded all packages:

brew upgrade gh
brew upgrade
like image 100
Sagar Avatar answered Nov 09 '25 05:11

Sagar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!