LinuxCommandLibrary

gcloud-components-install

Install components of the Google Cloud CLI, along with their dependencies.

TLDR

View available components for installation

$ gcloud components list
copy


Install one or more components (installs any dependencies as well)
$ gcloud components install [component_id1 component_id2 ...]
copy


Check the current version of Google Cloud CLI
$ gcloud version
copy


Update Google Cloud CLI to the latest version
$ gcloud components update
copy

Copied to clipboard