Skip to content

Instantly share code, notes, and snippets.

@dovy
Created October 5, 2021 02:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dovy/968e5563b7e3f5f6e5b151ff83a63220 to your computer and use it in GitHub Desktop.
Save dovy/968e5563b7e3f5f6e5b151ff83a63220 to your computer and use it in GitHub Desktop.
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
sudo apt-get install apt-transport-https ca-certificates gnupg
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
sudo apt-get update && sudo apt-get install google-cloud-sdk
gcloud init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment