Google Cloud CLI can also be installed using Homebrew, a widely-used package
manager for macOS, with the community-maintained
[gcloud-cli](https://formulae.brew.sh/cask/gcloud-cli) cask.

If you don't have Homebrew already, you'll need to install
[Homebrew](https://docs.brew.sh/Installation.html) first.

- To install gcloud CLI using Homebrew, run:

  ```bash
      brew update && brew install --cask gcloud-cli
  ```
- To update gcloud CLI, use the gcloud component manager:

  ```bash
      gcloud components update
  ```
- To uninstall gcloud CLI, run:

  ```bash
      brew uninstall --cask gcloud-cli
  ```