{"schemaVersion":"opencli.cli.v1","slug":"gcloud","name":"Google Cloud CLI","shortName":"gcloud","binaryName":"gcloud","maker":{"slug":"google-cloud","name":"Google Cloud","type":"org","url":"https://cloud.google.com","officialPlatformMaker":true,"featuredBuilder":false},"category":"Cloud","description":"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.","tagline":"Cloud ops, gcp projects, and deploy and logs from the terminal.","install":{"packageManager":"brew","command":"brew install --cask google-cloud-sdk","packageName":null,"npmPackage":null,"brewFormula":null,"brewCask":"gcloud-cli","crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"gcloud auth list","signal":"Shows active Google Cloud identities."},"quickStart":"gcloud auth login && gcloud config set project my-project","exampleWorkflow":["gcloud auth login && gcloud config set project my-project"],"agent":{"readiness":{"label":"Great for agents","score":75,"reasons":["Structured output is available for parsing.","Supports non-interactive/scripted use.","Works well in CI or repeatable automation."],"guardrails":["Verify identity/account before running task commands.","Network access is required; avoid leaking secrets in logs.","Require confirmation before apply, delete, deploy, transfer, merge, or write actions."]},"packUrl":"https://opencli.co/cli/gcloud/agent.md","packMarkdown":"# OpenCLI Agent Pack: Google Cloud CLI\n\nUse this when an AI agent needs to work with `gcloud`.\n\n## What this CLI is for\nThe official CLI from Google Cloud. Cloud ops, gcp projects, and deploy and logs from the terminal. Supports structured output — good for scripts and agents.\n\nBest for: cloud ops, gcp projects, and deploy and logs from the terminal.\n\n## Agent readiness\nGreat for agents (75/100)\n- Structured output is available for parsing.\n- Supports non-interactive/scripted use.\n- Works well in CI or repeatable automation.\n\n## Install\n```sh\nbrew install --cask google-cloud-sdk\n```\n\n## Verify before real work\n```sh\ngcloud auth list\n```\nExpected signal: Shows active Google Cloud identities.\n\n## Safe starting commands\n```sh\ngcloud auth list\n```\n\n```sh\ngcloud auth login && gcloud config set project my-project\n```\n\n## Guardrails for agents\n- Verify identity/account before running task commands.\n- Network access is required; avoid leaking secrets in logs.\n- Require confirmation before apply, delete, deploy, transfer, merge, or write actions.\n\n## Suggested agent instruction\nYou may use Google Cloud CLI (`gcloud`) for cloud ops, gcp projects, and deploy and logs from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"cloud ops, gcp projects, and deploy and logs from the terminal.","useThisIf":"You're on Google Cloud and want the official terminal experience.","skipIf":"You're not comfortable with a tool that can write to production.","whatHappensNext":"Run `gcloud auth login && gcloud config set project my-project` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":true,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":true,"requiresNetwork":true,"ciFriendly":true,"localFirst":false,"destructivePotential":"high"},"taxonomy":{"useCases":["Cloud ops","GCP projects","Deploy and logs"],"aliases":["google cloud cli"],"keywords":["gcp cloud run app engine"],"tags":["official","agent-friendly","json-output","ci-friendly"]},"links":{"website":"https://cloud.google.com/sdk","github":"https://github.com/google-cloud-sdk-unofficial/google-cloud-sdk","docs":"https://cloud.google.com/sdk/docs","opencli":"https://opencli.co/cli/gcloud","markdown":"https://opencli.co/cli/gcloud/agent.md","json":"https://opencli.co/cli/gcloud.json"},"metrics":{"githubStars":20,"latestRelease":"2026-05-28T04:50:44Z","license":"NOASSERTION","metricLabel":"Homebrew installs (30d)","metricValue":58223,"metricSource":"homebrew","metricAsOf":"2026-06-08T11:00:31.346Z"}}