Skip to main content

gcloud command not found error

In order to manage your Google Cloud Platform resources, Google Cloud SDK should be installed. Then Gloud command line utility comes with this SDK. But i encounter a problem with gloud command after installing on my Mint Linux. Even if i restarted terminal session, when i try to run 'gcloud auth login' command i encountered 'gcloud: command not found' error. That's because SDK installer put gloud binary's path using .bashrc file in the user's home directory. In my case i put these .inc files in .bash_profile, then restart terminal session:

# The next line updates PATH for the Google Cloud SDK.
source '/home/kadir/google-cloud-sdk/'

# The next line enables bash completion for gcloud.
source '/home/kadir/google-cloud-sdk/'


Popular posts from this blog