Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



gcloud components update

NAME
gcloud-components-update - Ensure that the latest version of each specified component, and the latest version of all components upon which the specified components directly or indirectly depend, is installed on the local workstation. If the command includes one or more names of components or packages, the specified components are the named components and the components contained in the named packages; if the command does not name any components or packages, the specified components are all installed components.
SYNOPSIS
gcloud components update
  [COMPONENT-IDS …]
  [--format FORMAT]
  [--help]
  [--project PROJECT]
  [--quiet, -q]
  [-h]
DESCRIPTION
Download the lastest version of each listed item, and the latest version of all components upon which the listed items directly or indirectly depend, if that version is not already installed on the local workstation. The items may be individual components or preconfigured packages. If a downloaded component was not previously installed, the downloaded version is installed. If an earlier version of the component was previously installed, that version is replaced by the downloaded version.
If, for example, the component unicorn-factory depends on the component horn-factory , installing the latest version of unicorn-factory will cause the version of horn-factory upon which it depends to be installed as well, if it is not already installed. The command lists all components it is about to install, and asks for confirmation before proceeding.
POSITIONAL ARGUMENTS
[COMPONENT-IDS …]
The IDs of the components to be updated or installed.
FLAGS
--format FORMAT
Specify a format for printed output. By default, a command-specific human-friendly output format is used. Setting this flag to one of the available options will serialize the result of the command in the chosen format and print it to stdout. Supported formats are: "json", "text", "yaml".
--help
Display detailed help.
--project PROJECT
Google Cloud Platform project to use for this invocation.
--quiet
Disable all interactive prompts when running gcloud commands. If input is required, defaults will be used, or an error will be raised.
-h
Print a summary help and exit.
EXAMPLES
The following command ensures that the latest version is installed for component-1 , component-2 , and all components that depend, directly or indirectly, on either component-1 or component-2 :
$ gcloud components update component-1 component-2

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.