gcloud_components (1)
NAME
- gcloud components - list, install, update, or remove Google Cloud SDK components
SYNOPSIS
-
gcloud components GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
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.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
GROUPS
GROUP is one of the following:
-
- repositories
-
Manage additional component repositories for Trusted Tester programs.
COMMANDS
COMMAND is one of the following:
-
- install
-
Install one or more Cloud SDK components.
- list
-
List the status of all Cloud SDK components.
- reinstall
-
Reinstall the Cloud SDK with the same components you have now.
- remove
-
Remove one or more installed components.
- restore
-
Restore the Cloud SDK installation to its previous state.
- update
-
Update all of your installed components to the latest version.
EXAMPLES
To see all available components:
- $ gcloud components list
To install a component you don't have:
- $ gcloud components install COMPONENT
To remove a component you no longer need:
- $ gcloud components remove COMPONENT
To update all components you have to their latest version:
- $ gcloud components update
To update all installed components to version 1.2.3:
- $ gcloud components update --version 1.2.3