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
I had this issue today, and adding sudo to the install command fixed my issue on maxOS Sierra!
sudo
install command
sudo ./google-cloud-sdk/install.sh