Download google-cloud-sdk.tar.gz
, and unzip it. Place the unzipped folder whenever you want (I've place it in the macOS Applications folder).
Go to the folder:
terminalcd /Applications/google-cloud-sdk
terminal./install.sh
terminalModify profile to update your $PATH and enable shell command completion? Do you want to continue (Y/n)? y
By default, the executable will modify the /Users/Erik/.bash_profile
file, but after installation, if you execute gcloud --version
and the command is not found, reinstall the package and replace /Users/Erik/.bash_profile
with ~/.profile
.
Restart the terminal.
Hi, I'm Erik, an engineer from Barcelona. If you like the post or have any comments, say hi.