- NAME
-
- gcloud components install - install one or more Google Cloud CLI components
- SYNOPSIS
-
-
gcloud components install
COMPONENT-IDS
[COMPONENT-IDS
…] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
Ensure that each of the specified components (as well as any dependent
components) is installed on the local workstation. Components are installed
without performing any upgrades to your existing CLI installation. All
components are installed at the current version of your CLI.
Components that are available for installation can be viewed by running:
gcloud components list
Installing a given component will also install all components on which it depends. The command lists all components it is about to install, and asks for confirmation before proceeding.
installs components from the version of the Google Cloud CLI you currently have installed. You can see your current version by running:gcloud components install
gcloud version
If you want to update your Google Cloud CLI installation to the latest available version, use:
gcloud components update
- EXAMPLES
-
The following command installs
,COMPONENT-1
, and all components that they depend on:COMPONENT-2
gcloud components install COMPONENT-1 COMPONENT-2
- POSITIONAL ARGUMENTS
-
COMPONENT-IDS
[COMPONENT-IDS
…]- The IDs of the components to be installed.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file
,--account
,--billing-project
,--configuration
,--flags-file
,--flatten
,--format
,--help
,--impersonate-service-account
,--log-http
,--project
,--quiet
,--trace-token
,--user-output-enabled
,--verbosity
.Run
$ gcloud help
for details.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-02-06 UTC.",
"confidential": False
}