Install Google Cloud SDK

To install Google Cloud SDK on Ubuntu/Debian, add repo

export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)"
echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" > /etc/apt/sources.list.d/google-cloud-sdk.list

Add Key

curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -

Install with

apt-get update
apt-get install google-cloud-sdk

Before you can use gcloud command, you need to run

gcloud init

gsutil
Google Cloud
Google Cloud Storage

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *