Install gcloud on mac with tcsh/bash

1.Download from interactive installation
It will install at your user path ~/google-cloud-sdk

curl https://sdk.cloud.google.com | bash

2.Setup the environment
If you are using bash shell

source ~/google-cloud-sdk/path.bash.inc
source ~/google-cloud-sdk/completion.bash.inc

If you are using tcsh shell

echo "setenv PATH /Users/charlie27/google-cloud-sdk/bin/:$PATH" >> ~/.tcshrc
Subscribe
Notify of

0 Comments
Inline Feedbacks
View all comments