Show Menu
Cheatography

gcloud CLI Cheat Sheet (DRAFT) by

The gcloud CLI cheat sheet

This is a draft cheat sheet. It is a work in progress and is not finished yet.

GETTING STARTED

gcloud init
Initia­lize, authorize, and configure the gcloud CLI
gcloud version
Display version and installed components
gcloud components install
Install specific components
gcloud components update
Update your gcloud CLI to the latest version
gcloud config set project
Set a default Google Cloud project to work on
gcloud info
Display current gcloud CLI enviro­nment details
Get going with the gcloud CLI

HELP

gcloud help
Search the gcloud CLI reference documents for specific terms
gcloud feedback
Provide feedback to the gcloud CLI team
gcloud topic
Supple­mentary help material for non-co­mmand topics like access­ibi­lity, filtering, and format­ting.
gcloud CLI is happy to help

PERS­ONA­LIZ­ATION

gcloud config set
Define a property (like comput­e/zone) for the current config­uration
gcloud config get
Fetch the value of a gcloud CLI property
gcloud config list
Display all the properties for the current config­uration
gcloud config config­ura­tions create
Create a new named config­uration
gcloud config config­ura­tions list
Display a list of all available config­ura­tions
gcloud config config­ura­tions activate
Switch to an existing named config­uration
Make the gcloud CLI your own; person­alize your config­uration with properties