# Download one of the following | |
$ curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-386.0.0-linux-x86_64.tar.gz | |
Extract the contents of the file to any location on your file system (preferably your Home directory). To replace an existing installation, remove the existing google-cloud-sdk directory and then extract the archive to the same location. | |
$ tar -xf google-cloud-cli-386.0.0-linux-x86.tar.gz | |
# Run the script (from the root of the folder you extracted to) using the following command: | |
$ ./google-cloud-sdk/install.sh | |
# If you want to send anonymous usage statistics to help improve the gcloud CLI, answer Y when prompted. | |
To add the gcloud CLI to your PATH and enable command completion, answer Y when prompted. | |
Open a new terminal so that the changes take effect. | |
# To initialize the gcloud CLI, run gcloud init: | |
$ ./google-cloud-sdk/bin/gcloud init |
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND