snippetbashTip
gcloud components — Manage Google Cloud CLI components. See also: `gcloud`. More information: <https://docs.cloud.google
Viewed 0 times
commandgcloud componentscloudclimanagegooglecomponents
Problem
How to use the
gcloud components command: Manage Google Cloud CLI components. See also: gcloud. More information: <https://docs.cloud.google.com/sdk/gcloud/reference/components>.Solution
gcloud components — Manage Google Cloud CLI components. See also: gcloud. More information: <https://docs.cloud.google.com/sdk/gcloud/reference/components>.View available components for installation:
gcloud components listInstall one or more components (installs any dependencies as well):
gcloud components install {{component_id1 component_id2 ...}}Update all components to the latest version:
gcloud components updateUpdate all components to a specific version:
gcloud components update --version={{1.2.3}}Update components without confirmation (useful for automation scripts):
gcloud components update --quietCode Snippets
View available components for installation
gcloud components listInstall one or more components (installs any dependencies as well)
gcloud components install {{component_id1 component_id2 ...}}Update all components to the latest version
gcloud components updateUpdate all components to a specific version
gcloud components update --version={{1.2.3}}Update components without confirmation (useful for automation scripts)
gcloud components update --quietContext
tldr-pages: common/gcloud components
Revisions (0)
No revisions yet.