Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

[Resolved] Incorrect google cloud cli SHA256 checksum?

I'm wanting to install Google's gcloud CLI for Mac but my SHA checksum doesn't match. Am I doing wrong, or is the checksum wrong?

  1. Visit https://cloud.google.com/sdk/docs/install-sdk#installing_the_latest_version
  2. Note that google-cloud-cli-darwin-arm.tar.gz has a checksum of
    487296f593a775ebefd12e9f127e9b15244bb2ddca9ad750e0a7e7f29396038e
  3. On my mac, running shasum -a256 gives a different value:
% shasum -a256 google-cloud-cli-darwin-arm.tar.gz 
70295f98a25dec121a7d98df9635140b14cac9332f8accea346b8c04bb1ebed1 /Users/nmalcolm/Downloads/google-cloud-cli-darwin-arm.tar.gz

% ls -l google-cloud-cli-darwin-arm.tar.gz
-rw-r--r--@ 1 nmalcolm staff 52817628 23 Aug 12:16 google-cloud-cli-darwin-arm.tar.gz

It seems this might have occurred in the past, too:

0 1 263
1 REPLY 1

This is resolved. The page has been updated with a new download and correct checksum:

 

%shasum -a256 google-cloud-cli-darwin-arm.tar.gz
4036106a3262b2c737cb767a1d06be0e75c0ac3de6a31121248538530fe398b7 google-cloud-cli-darwin-arm.tar.gz

 

Screenshot 2024-09-03 at 9.40.32 AM.png