Introduction to Google Cloud CLI
A few months ago, I wrote an article about AWS CLI. Today I’m going to explore gcloud
, Google Cloud’s CLI.
Installation
The gcloud
CLI requires python 3.5 or later. Let’s verify our version will work:
1
python3 --version
If everything is good, we can download the cli:
1
curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-309.0.0-linux-x86_64.tar.gz
Extract it:
1
tar -xvf google-cloud-sdk-309.0.0-linux-x86_64.tar.gz