Google Cloud Comand Line Interface
Why Use The Command Line Interface
- Create any Google Cloud Resouce from the command line
- Script creation of Google Cloud Resources
- Deploy CI/CD pipelines
- Devlope software locally then push to Google Cloud
- 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.