Google Cloud CLI Commands

Complete Google Cloud CLI commands reference — 155 commands across 5 categories. Quick reference cheat sheet for Cross-platform.

Common Commands (6)

ShortcutAction
gcloud auth loginLogin
gcloud config set project [ID]Set project
gcloud compute instances listList VMs
gcloud run deployDeploy Cloud Run
gcloud storage lsList buckets
gcloud functions listList functions

Global Flags (10)

ShortcutAction
gcloud --billing-project=BILLING_PROJECTThe Google Cloud project that will be charged quota for operations performed in gcloud. If you
gcloud --configuration=CONFIGURATIONFile name of the configuration to use for this command invocation. For more information on how
gcloud --flags-file=YAML_FILEA YAML or JSON file that specifies a --flag:value dictionary. Useful for specifying complex
gcloud --flattenFlatten name[] output resource slices in KEY into separate records for each item in each slice.
gcloud --format=FORMATSets the format for printing command output resources. The default is a command-specific
gcloud --helpDisplay detailed help
gcloud --project=PROJECT_IDThe Google Cloud project ID to use for this invocation. If omitted, then the current project
gcloud --quiet, -qDisable all interactive prompts when running gcloud commands. If input is required, defaults
gcloud --version, -vPrint version information and exit. This flag is only available at the global level
gcloud -hPrint a summary help and exit

Other Flags (3)

ShortcutAction
gcloud --log-httpLog all HTTP server requests and responses to stderr. Overrides the default core/log_http
gcloud --trace-token=TRACE_TOKENToken used to route traces of service requests for investigation of issues. Overrides
gcloud --user-output-enabledPrint user intended output to the console. Overrides the default core/user_output_enabled

Command Groups (129)

ShortcutAction
gcloud access-context-managerManage Access Context Manager resources
gcloud active-directoryManage Managed Microsoft AD resources
gcloud agent-registryManage Agent Registry resources
gcloud aiManage entities in Vertex AI
gcloud ai-platformManage AI Platform jobs and models
gcloud alloydbCreate and manage AlloyDB databases
gcloud alpha(ALPHA) Alpha versions of gcloud commands
gcloud anthosAnthos command Group
gcloud api-gatewayManage Cloud API Gateway resources
gcloud apigeeManage Apigee resources
gcloud apihubManage Apihub resources
gcloud appManage your App Engine deployments
gcloud apphubManage App Hub resources
gcloud artifactsManage Artifact Registry resources
gcloud assetManage the Cloud Asset Inventory
gcloud assuredRead and manipulate Assured Workloads data controls
gcloud audit-managerEnroll resources, audit workloads and generate reports
gcloud authManage oauth2 credentials for the Google Cloud CLI
gcloud backup-drManage Backup and DR resources
gcloud batchManage Batch resources
gcloud beta(BETA) Beta versions of gcloud commands
gcloud beyondcorpManage Beyondcorp resources
gcloud biglakeCreate and manage Google Cloud BigLake resources
gcloud bigtableManage your Cloud Bigtable storage
gcloud billingManage billing accounts and associate them with projects
gcloud bmsManage Bare Metal Solution resources
gcloud bqManage Bq resources
gcloud buildsCreate and manage builds for Google Cloud Build
gcloud certificate-managerManage SSL certificates for your Google Cloud projects
gcloud cloud-shellManage Google Cloud Shell
gcloud cloudlocationfinderManage Cloudlocationfinder resources
gcloud colabManage Colab Enterprise resources
gcloud compliance-managerManage Compliance Manager resources
gcloud componentsList, install, update, or remove Google Cloud CLI components
gcloud composerCreate and manage Cloud Composer Environments
gcloud computeCreate and manipulate Compute Engine resources
gcloud configView and edit Google Cloud CLI properties
gcloud containerDeploy and manage clusters of machines for running containers
gcloud data-catalogManage Data Catalog resources
gcloud database-migrationManage Database Migration Service resources
gcloud dataflowManage Google Cloud Dataflow resources
gcloud datalineageManage Google Cloud Data Lineage resources
gcloud dataplexManage Dataplex resources
gcloud dataprocCreate and manage Google Cloud Dataproc clusters and jobs
gcloud datastoreManage your Cloud Datastore resources
gcloud datastreamManage Cloud Datastream resources
gcloud deployCreate and manage Cloud Deploy resources
gcloud deployment-managerManage deployments of cloud resources
gcloud design-centerManage Application Design Center resources
gcloud developer-connectManage Developer Connect resources
gcloud dnsManage your Cloud DNS managed-zones and record-sets
gcloud domainsManage domains for your Google Cloud projects
gcloud edge-cacheManage Media CDN resources
gcloud edge-cloudManage edge-cloud resources
gcloud emulatorsSet up your local development environment using emulators
gcloud endpointsCreate, enable and manage API services
gcloud essential-contactsManage Essential Contacts
gcloud eventarcManage Eventarc resources
gcloud filestoreCreate and manipulate Filestore resources
gcloud firebaseWork with Google Firebase
gcloud firestoreManage your Cloud Firestore resources
gcloud functionsManage Google Cloud Functions
gcloud geminiManage resources associated with Gemini Code Assist and Gemini Cloud Assist
gcloud healthcareManage Cloud Healthcare resources
gcloud iamManage IAM service accounts and keys
gcloud iapManage IAP policies
gcloud identityManage Cloud Identity Groups and Memberships resources
gcloud idsManage Cloud IDS
gcloud infra-managerManage Infra Manager resources
gcloud kmsManage cryptographic keys in the cloud
gcloud loggingManage Cloud Logging
gcloud lookerManage Looker resources
gcloud lustreManage Lustre resources
gcloud managed-kafkaAdminister Managed Service for Apache Kafka clusters, topics, and consumer groups
gcloud memcacheManage Cloud Memorystore Memcached resources
gcloud memorystoreManage Memorystore resources
gcloud metastoreManage Dataproc Metastore resources
gcloud migrationThe root group for various Cloud Migration teams
gcloud mlUse Google Cloud machine learning capabilities
gcloud model-armorModel Armor is a service offering LLM-agnostic security and AI safety measures to mitigate
gcloud monitoringManage Cloud Monitoring dashboards
gcloud netappCreate and manipulate Cloud NetApp Files resources
gcloud network-connectivityManage Network Connectivity resources
gcloud network-managementManage Network Management resources
gcloud network-securityManage Network Security resources
gcloud network-servicesManage Network Services resources
gcloud notebooksNotebooks Command Group
gcloud observabilityManage Observability resources
gcloud oracle-databaseManage Oracle Database resources
gcloud org-policiesCreate and manage Organization Policies
gcloud organizationsCreate and manage Google Cloud Platform Organizations
gcloud pamManage Privileged Access Manager (PAM) entitlements and grants
gcloud parametermanagerParameter Manager is a single source of truth to store, access and manage the lifecycle of your
gcloud policy-intelligenceA platform to help better understand, use, and manage policies at scale
gcloud policy-troubleshootTroubleshoot Google Cloud Platform policies
gcloud preview(PREVIEW) Preview versions of gcloud commands
gcloud privatecaManage private Certificate Authorities on Google Cloud
gcloud projectsCreate and manage project access policies
gcloud publiccaManage accounts for Google Trust Services' Certificate Authority
gcloud pubsubManage Cloud Pub/Sub topics, subscriptions, and snapshots
gcloud recaptchaManage reCAPTCHA Enterprise Keys
gcloud recommenderManage Cloud recommendations and recommendation rules
gcloud redisManage Cloud Memorystore Redis resources
gcloud resource-managerManage Cloud Resources
gcloud runManage your Cloud Run applications
gcloud sccManage Cloud SCC resources
gcloud schedulerManage Cloud Scheduler jobs and schedules
gcloud secretsManage secrets on Google Cloud
gcloud service-directoryCommand groups for Service Directory
gcloud service-extensionsManage Service Extensions resources
gcloud service-healthRequest events that are relevant to your project or organization
gcloud servicesList, enable and disable APIs and services
gcloud sourceCloud git repository commands
gcloud source-managerManage Secure Source Manager resources
gcloud spannerCommand groups for Cloud Spanner
gcloud sqlCreate and manage Google Cloud SQL databases
gcloud storageCreate and manage Cloud Storage buckets and objects
gcloud tasksManage Cloud Tasks queues and tasks
gcloud telco-automationManage Telco Automation resources
gcloud topicgcloud supplementary help
gcloud transcoderManage Transcoder jobs and job templates
gcloud transferManage Transfer Service jobs, operations, and agents
gcloud vector-searchManage Vector Search data objects
gcloud vmwareManage Google Cloud VMware Engine resources
gcloud workbenchWorkbench Command Group
gcloud workflowsManage your Cloud Workflows resources
gcloud workload-identityManage Workload Identity
gcloud workspace-add-onsManage Google Workspace Add-ons resources
gcloud workstationsManage Cloud Workstations resources

Commands (7)

ShortcutAction
gcloud docker(DEPRECATED) Enable Docker CLI access to Google Container Registry
gcloud feedbackProvide feedback to the Google Cloud CLI team
gcloud helpSearch gcloud help text
gcloud infoDisplay information about the current gcloud environment
gcloud initInitialize or reinitialize gcloud
gcloud surveyInvoke a customer satisfaction survey for Google Cloud CLI
gcloud versionPrint version information for Google Cloud CLI components
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Related Shortcut Pages

AWS CLI Azure CLI Kubernetes (kubectl) Docker Terraform Bash / Shell

Search 13,500+ shortcuts across 269 platforms

Explore All Platforms Practice Shortcuts

🤖 Ask AI about Google Cloud CLI shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok
📜 Every shortcut on this page is taken from the official Google Cloud CLI documentation — cloud.google.com
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.