gcloud components remove

NAME
gcloud components remove - remove one or more installed components
SYNOPSIS
gcloud components removeCOMPONENT_ID[COMPONENT_ID …][GCLOUD_WIDE_FLAG]
DESCRIPTION
Uninstall all listed components, as well as all components that directly orindirectly depend on them.

The command lists all components it is about to remove, and asks forconfirmation before proceeding.

EXAMPLES
To removeCOMPONENT-1,COMPONENT-2, and all components thatdirectly or indirectly depend onCOMPONENT-1 orCOMPONENT-2, type the following:
gcloudcomponentsremoveCOMPONENT-1COMPONENT-2
POSITIONAL 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,--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 theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.