I am trying to install the Google Cloud SDK on Mac using the following command in terminal
curl https://sdk.cloud.google.com | bash
It worked fine, but when I go to the next step
gcloud init
I get the following
- bash: gcloud: command not found
I tried all the solutions on the same issue as here , however I still get the same error message. The installer did not request me with the following message:Modify profile to update your $PATH and enable bash completion? (Y/n)?
Modify profile to update your $PATH and enable bash completion? (Y/n)?
, Cloud SDK . - , , .
/Users/<yourname>/.profile :
/Users/<yourname>/.profile
# The next line updates PATH for the Google Cloud SDK. source '<path-to-where-you-installed-the-cloud-sdk>/path.bash.inc'
PATH:
export $PATH=<path-to-where-you-installed-the-cloud-sdk>:$PATH
sdk "-" . $PATH .
Source: https://habr.com/ru/post/1663976/More articles:Check for at least one field using CakePHP 3 check - phpng model for dynamically loaded elements - javascriptWhat does the term Plain Old PHP Object (POPO) mean? - phpHow to set Elicsearch 5 memory size (heap) when working as a service - elasticsearchReact Native WebView rendering an unexpected border below - iosGoogle Virtual Platform - Download Backup - google-cloud-storageMsbuild - wait x seconds - msbuildDrawImage масштабирует исходное изображение - c#Spring security and ExceptionHandler: allowAll path exception always returns 401 on the Tomcat server - springCannot install pillow on windows - pythonAll Articles