Why Use The Command Line Interface

  1. Create any Google Cloud Resouce from the command line
  2. Script creation of Google Cloud Resources
  3. Deploy CI/CD pipelines
  4. Devlope software locally then push to Google Cloud
  5. Be a cloud ninja

Installing the Command Line Interface

Mac OS install Ok this is super easy if you have HomeBrew installed. HomeBrew will also manage it for you and keep it updated.

brew install --cask google-cloud-sdk

Windows install Open a Windows PowerShell and run the followign command:

(New-Object Net.WebClient).DownloadFile("https://dl.google.com/dl/cloudsdk/channels/rapid/GoogleCloudSDKInstaller.exe", "$env:Temp\GoogleCloudSDKInstaller.exe")

& $env:Temp\GoogleCloudSDKInstaller.exe

Alterntively you can download and install it manually, but what fun is that?

Authentication and General Usage Tips

The Easy Button

Ok now that we have gone through that there is a simple way to to run the Google Cloud Command Line Interface.