How To Configure Google Cloud SDK on Mac
Install the Cloud SDK using Homebrew and start managing your projects via CLI
The Google Cloud SDK includes a CLI tool and lets developers run
gcloud commands to help manage their projects. Sure, you could always just download and install the SDK directly, or you could skip a few steps and install it using Homebrew as I outline below.