gcloud components remove Stay organized with collections Save and categorize content based on your preferences.
- 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 remove
,COMPONENT-1, and all components thatdirectly or indirectly depend onCOMPONENT-2orCOMPONENT-1, type the following:COMPONENT-2gcloudcomponentsremoveCOMPONENT-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 helpfor 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.