I am on a mac and am trying to install the Google Cloud SDK (including the gcloud command line utility) using this command in terminal
curl https://sdk.cloud
This worked for me :
After saying Y to Modify profile to update your $PATH and enable bash completion? (Y/n)?
Google initiation is prompting this : Enter a path to an rc file to update, or leave blank to use and the default path was : [/Users/MY_USERSAME/.bash_profile]: but instead of pressing enter, I wrote : /Users/MY_USERNAME/.bashrc to change the path.
This would overwrite the default location that Google suggest.
Then, I only had to do source ~/.bashrc and everything works now!