I’ll introduce how to install Google Cloud SDK on macOS.
Following the official article Google Cloud SDK のインストール | Cloud SDK のドキュメント, I mindlessly went through the installation and accidentally installed Google Cloud SDK to the Downloads folder.
To avoid repeating the same mistake, I’m writing down the Google Cloud SDK installation steps for my future self.
The key point for Google Cloud SDK installation is to perform it in the home directory as follows:
mv ~/Downloads/google-cloud-sdk-347.0.0-darwin-x86_64.tar.gz ~/
cd ~/
tar -zxvf google-cloud-sdk-347.0.0-darwin-x86_64.tar.gz
./google-cloud-sdk/install.sh
./google-cloud-sdk/bin/gcloud init
That’s all from the Gemba.