Created
October 6, 2020 01:26
-
-
Save kuboon/64824ec22966989ed5f4b207aa9f3945 to your computer and use it in GitHub Desktop.
install gcloud on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env sh | |
sudo apt 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 - | |
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 update && sudo apt install google-cloud-sdk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment