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.
Prerequisites
Make sure you have Python installed (Python 3 (3.5 to 3.8, 3.7 recommended) or Python 2 (2.7.9 or higher)
$ python -v
Make sure you have HomeBrew (and that it’s up to date):
$ brew --version $ brew update
Install the Cask plugin. If you’re unfamiliar, Cask extends Homebrew and allows you to install large binary files via CLI.