2023-12-07 09:45:04 +00:00
|
|
|
# gcloud components install
|
|
|
|
|
2024-02-14 20:25:13 +00:00
|
|
|
> Install components of the Google Cloud CLI, along with their dependencies.
|
2023-12-07 09:45:04 +00:00
|
|
|
> Installs components at the current version of the Google Cloud CLI without upgrading the existing installation.
|
|
|
|
> More information: <https://cloud.google.com/sdk/gcloud/reference/components/install>.
|
|
|
|
|
|
|
|
- View available components for installation:
|
|
|
|
|
|
|
|
`gcloud components list`
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
- Install one or more components (installs any dependencies as well):
|
2023-12-07 09:45:04 +00:00
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`gcloud components install {{component_id1 component_id2 ...}}`
|
2023-12-07 09:45:04 +00:00
|
|
|
|
|
|
|
- Check the current version of Google Cloud CLI:
|
|
|
|
|
|
|
|
`gcloud version`
|
|
|
|
|
|
|
|
- Update Google Cloud CLI to the latest version:
|
|
|
|
|
|
|
|
`gcloud components update`
|