Skip to content

gcloud command line Cheat Sheet

gcloud cheat sheet

Login to gcloud

gcloud auth login
gcloud auth login --no-launch-browser

gcloud get projects

gcloud projects list

gcloud set project

PROJECT_ID=<set project id>
gcloud config set project $PROJECT_ID

gcloud delete a project

PROJECT_ID=<set project id>
gcloud --quiet projects delete $PROJECT_ID