Link Search Menu Expand Document

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:

  • 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