gcloud components reinstall

NAME
gcloud components reinstall - reinstall the Google Cloud CLI with the same components you have now
SYNOPSIS
gcloud components reinstall [GCLOUD_WIDE_FLAG]
DESCRIPTION
If your Google Cloud CLI installation becomes corrupt, this command attempts to fix it by downloading the latest version of the Google Cloud CLI and reinstalling it. This will replace your existing installation with a fresh one. The command is the equivalent of deleting your current installation, downloading a fresh copy of the gcloud CLI, and installing in the same location.
EXAMPLES
To reinstall all components you have installed, run:
gcloudcomponentsreinstall
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 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 2026年05月27日 UTC.