gcloud
officialscriptablecautioncloudbrew
Google Cloud · Cloud ops, gcp projects, and deploy and logs from the terminal.
$ brew install --cask google-cloud-sdkOne-liner to try
$ gcloud auth login && gcloud config set project my-projectAgent pack
Quick reference
Install
brew install --cask google-cloud-sdkVerify
gcloud auth listFirst command
gcloud auth login && gcloud config set project my-projectMachine JSON
/cli/gcloud.jsonAbout
The official CLI from Google Cloud. Cloud ops, gcp projects, and deploy and logs from the terminal. Supports structured output — good for scripts and agents.
Example workflow
1. gcloud auth login && gcloud config set project my-project