gcloud_components_list (1)
NAME
- gcloud components list - list the status of all Cloud SDK components
SYNOPSIS
-
gcloud components list [--only-local-state] [--show-versions] [--filter=EXPRESSION] [--limit=LIMIT] [--sort-by=[FIELD,...]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
-
- *
- Status on your local workstation: not installed, installed (and up to date), and update available (installed, but not up to date)
- *
- Name of the component (a description)
- *
- ID of the component (used to refer to the component in other [gcloud components] commands)
- *
- Size of the component
In addition, if the --show-versions flag is specified, the command
lists the currently installed version (if any) and the latest available version
of each individual component.
FLAGS
-
- --only-local-state
-
Only show locally installed components.
- --show-versions
-
Show installed and available versions of all components.
LIST COMMAND FLAGS
-
- --filter=EXPRESSION
-
Apply a Boolean filter EXPRESSION to each resource item to be listed. If
the expression evaluates True, then that item is listed. For more details
and examples of filter expressions, run $ gcloud topic filters. This flag
interacts with other flags that are applied in this order: --flatten,
--sort-by, --filter, --limit.
- --limit=LIMIT
-
Maximum number of resources to list. The default is unlimited. This flag
interacts with other flags that are applied in this order: --flatten,
--sort-by, --filter, --limit.
- --sort-by=[FIELD,...]
-
Comma-separated list of resource field key names to sort by. The default order
is ascending. Prefix a field with ``~'' for descending order on that field. This
flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
$ gcloud components list
$ gcloud components list --show-versions