gcloud
Use when managing Google Cloud Platform infrastructure from CLI — Compute Engine VMs, GKE clusters, Cloud Run deployments, IAM roles, or gcloud auth/config setup.
| Model | Source |
|---|---|
| inherit | pack: google-cli |
Full Reference
gcloud
Section titled “gcloud”Mandatory Announcement — FIRST OUTPUT before anything else:
┏━ 🔧 gcloud ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓┃ [one-line description of GCP operation] ┃┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛Google Cloud Platform CLI — manage infrastructure, deploy services, configure IAM from terminal. Official Google Cloud SDK.
Quick Reference
Section titled “Quick Reference”| Item | Value |
|---|---|
| Install | brew install google-cloud-sdk or curl https://sdk.cloud.google.com | bash |
| Auth | gcloud auth login (user) or gcloud auth application-default login (ADC) |
| Config | ~/.config/gcloud/ |
| Docs | https://cloud.google.com/sdk/gcloud |
Reference Index
Section titled “Reference Index”| I want to… | File |
|---|---|
| Install, auth, project config, ADC, service accounts | reference/setup.md |
| VMs, instance groups, firewall rules, SSH | reference/compute.md |
| GKE clusters, node pools, kubectl integration | reference/container.md |
| Cloud Run deploy, env vars, traffic splitting | reference/run.md |
| IAM roles, service accounts, policy bindings | reference/iam.md |
Load only the reference docs relevant to the current task.