mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
27 lines
756 B
Plaintext
27 lines
756 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# gcloud components install
|
|
|
|
> Install components of the Google Cloud CLI, along with their dependencies.
|
|
> 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`
|
|
|
|
- Install one or more components (installs any dependencies as well):
|
|
|
|
`gcloud components install {{component_id1 component_id2 ...}}`
|
|
|
|
- Check the current version of Google Cloud CLI:
|
|
|
|
`gcloud version`
|
|
|
|
- Update Google Cloud CLI to the latest version:
|
|
|
|
`gcloud components update`
|