Tarball downloaded via: curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-460.0.0-linux-x86_64.tar.gz Add google-cloud-sdk/bin to your PATH Then need to login/authenicate with the Google cloud account you want to use: gcloud init If working on headless server (i.e., the web browser you access is not on the same machine as the one where you are running gcloud then ... gcloud auth login --no-launch-browser With some redaction to the given example, your interaction will go something like: # Go to the following link in your browser: # # https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????&code_challenge_method=S256 # # Enter authorization code: And then having retrieved the code: Enter authorization code: A6??????????????????????????????????????????????????????????????????????g # You are now logged in as [ateaspace@gmail.com]. # Your current project is [None]. You can change this setting by running: # $ gcloud config set project PROJECT_ID