⌘K
gcloud
all
The official CLI tool for Google Cloud Platform. Some subcommands such as `app` and `init` have their own usage documentation.
More info →Examples (8)
List all properties in one's active configuration
gcloud config listLogin to a Google account
gcloud auth loginSet the active project
gcloud config set project project_nameSSH into a virtual machine instance
gcloud compute ssh user@instanceDisplay all Google Compute Engine instances in a project (by default instances from all zones are listed)
gcloud compute instances listUpdate a kubeconfig file with the appropriate credentials to point `kubectl` to a specific cluster in Google Kubernetes Engine (GKE)
gcloud container clusters get-credentials cluster_nameUpdate all `gcloud` components
gcloud components updateDisplay help for a given command
gcloud help commandmade by @shridhargupta | data from tldr-pages