File: //snap/google-cloud-cli/current/help/man/man1/gcloud_components.1
.TH "GCLOUD_COMPONENTS" 1
.SH "NAME"
.HP
gcloud components \- list, install, update, or remove Google Cloud CLI components
.SH "SYNOPSIS"
.HP
\f5gcloud components\fR \fIGROUP\fR | \fICOMMAND\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
The gcloud components command group lets you control which tools are installed
in the Google Cloud CLI. It can be used to install, update and remove components
of the Google Cloud CLI, ensuring a lean, up\-to\-date installation.
gcloud components regularly checks whether updates are available for the tools
you already have installed, and gives you the opportunity to upgrade to the
latest version.
Certain components have dependencies. gcloud components will install any
dependencies, and during removal, any dependant components will be uninstalled
automatically.
.SH "EXAMPLES"
To see all available components:
.RS 2m
$ gcloud components list
.RE
To install a component you don't have:
.RS 2m
$ gcloud components install COMPONENT
.RE
To remove a component you no longer need:
.RS 2m
$ gcloud components remove COMPONENT
.RE
To update all components you have to their latest version:
.RS 2m
$ gcloud components update
.RE
To update all installed components to version 1.2.3:
.RS 2m
$ gcloud components update \-\-version 1.2.3
.RE
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-help.
Run \fB$ gcloud help\fR for details.
.SH "GROUPS"
\f5\fIGROUP\fR\fR is one of the following:
.RS 2m
.TP 2m
\fBrepositories\fR
Manage additional component repositories for Trusted Tester programs.
.RE
.sp
.SH "COMMANDS"
\f5\fICOMMAND\fR\fR is one of the following:
.RS 2m
.TP 2m
\fBinstall\fR
Install one or more Google Cloud CLI components.
.TP 2m
\fBlist\fR
List the status of all Google Cloud CLI components.
.TP 2m
\fBreinstall\fR
Reinstall the Google Cloud CLI with the same components you have now.
.TP 2m
\fBremove\fR
Remove one or more installed components.
.TP 2m
\fBupdate\fR
Update all of your installed components to the latest version.
.RE
.sp