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.google.com | bash
as seen at https://cloud.google.com/sdk/
It got all the way to the end and finished but even after I restarted my shell, the gcloud
command still says it's not found.
Why isn't this installation working?
If you are running ZSH shell in MacOS you should rerun the installation and when you be asked for this question:
answer
YES
and
answer(your zshrc path):
/Users/your_user/.zshrc
Restart Terminal and that's all.
Same here, I try
Then, It worked