The gcloud CLI cheat sheet

A roster of go-to commands for the Google Cloud CLI, the primary command-line tool for Google Cloud.

(Also included: introductory primer, understanding commands, and a printable PDF.)

Cheat sheet

Getting started

Get going with the gcloud CLI.

Help

gcloud CLI is happy to help.

  • gcloud help: Search the gcloud CLI reference documents for specific terms.
  • gcloud feedback: Provide feedback to the gcloud CLI team.
  • gcloud topic: Supplementary help material for non-command topics like accessibility, filtering, and formatting.

Personalization

Make the gcloud CLI your own; personalize your configuration with properties.

Authorization and Credentials

Grant and revoke authorization to the gcloud CLI and manage credentials.

Projects

Manage project access policies.

IAM

Configuring Identity and Access Management (IAM) preferences and service accounts.

Docker & Google Kubernetes Engine (GKE)

Manage containerized applications on Kubernetes.

Virtual Machines & Compute Engine

Create, run, and manage VMs on Google Cloud infrastructure.

Serverless & App Engine

Build highly scalable applications on a fully managed serverless platform