HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

gcloud components — Manage Google Cloud CLI components. See also: `gcloud`. More information: <https://docs.cloud.google

Submitted by: @import:tldr-pages··
0
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 list


Install 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 update


Update all components to a specific version:
gcloud components update --version={{1.2.3}}


Update components without confirmation (useful for automation scripts):
gcloud components update --quiet

Code Snippets

View available components for installation

gcloud components list

Install 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 update

Update all components to a specific version

gcloud components update --version={{1.2.3}}

Update components without confirmation (useful for automation scripts)

gcloud components update --quiet

Context

tldr-pages: common/gcloud components

Revisions (0)

No revisions yet.