gcloud components remove (original) (raw)
gcloud components remove
NAME
gcloud components remove - remove one or more installed components
SYNOPSIS
gcloud components remove [COMPONENT_ID](#COMPONENT%5FID) [[COMPONENT_ID](#COMPONENT%5FID) …] [[GCLOUD_WIDE_FLAG](#GCLOUD-WIDE-FLAGS) …]
DESCRIPTION
Uninstall all listed components, as well as all components that directly or indirectly depend on them.
The command lists all components it is about to remove, and asks for confirmation before proceeding.
EXAMPLES
To remove `COMPONENT-1`,`COMPONENT-2`, and all components that directly or indirectly depend on`COMPONENT-1` or`COMPONENT-2`, type the following:
gcloud components remove COMPONENT-1 COMPONENT-2POSITIONAL ARGUMENTS
COMPONENT_ID [COMPONENT_ID …]
The IDs of the components to be removed.
GCLOUD WIDE FLAGS
These flags are available to all commands: [--access-token-file](/sdk/gcloud/reference#--access-token-file),[--account](/sdk/gcloud/reference#--account), [--billing-project](/sdk/gcloud/reference#--billing-project),[--configuration](/sdk/gcloud/reference#--configuration),[--flags-file](/sdk/gcloud/reference#--flags-file),[--flatten](/sdk/gcloud/reference#--flatten), [--format](/sdk/gcloud/reference#--format), [--help](/sdk/gcloud/reference#--help), [--impersonate-service-account](/sdk/gcloud/reference#--impersonate-service-account),[--log-http](/sdk/gcloud/reference#--log-http),[--project](/sdk/gcloud/reference#--project), [--quiet](/sdk/gcloud/reference#--quiet), [--trace-token](/sdk/gcloud/reference#--trace-token), [--user-output-enabled](/sdk/gcloud/reference#--user-output-enabled),[--verbosity](/sdk/gcloud/reference#--verbosity).
Run $ [gcloud help](/sdk/gcloud/reference) 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 2025-05-07 UTC.