Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Para las instalaciones completadas con un paquete del SO (como apt-get o yum),
desinstala gcloud CLI con el administrador de paquetes del SO.
En el caso de las instalaciones de Windows, ejecuta el archivo uninstaller.exe en tu directorio de gcloud CLI.
Para quitar gcloud CLI, sigue estas instrucciones:
Localiza tu directorio de instalación ejecutando lo siguiente:
gcloud info --format='value(installation.sdk_root)'
Ejecuta lo siguiente para localizar tu directorio de configuración de usuario (normalmente ~/.config/gcloud en macOS y Linux):
gcloud info --format='value(config.paths.global_config_dir)'
Borra ambos directorios.
Además, quita las líneas de origen completion.bash.inc y path.bash.inc en .bashrc o en el archivo de inicialización de shell equivalente, si las agregaste durante la instalación.
Revisa el contenido del archivo .boto en tu directorio de inicio y quita las secciones [GoogleCompute] y [GSUtil]. Además, revisa las secciones [OAuth2] y [Credenciales] para ver las opciones de configuración que ya no son necesarias.
Algunos sistemas pueden tener directorios Cache, como ~/Library/Caches/ en Mac OS X. Busca estos directorios en tu sistema y bórralos:
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-04 (UTC)"],[],[],null,["# Uninstalling the Google Cloud CLI\n\nFor installations completed using an OS package (such as `apt-get` or `yum`), uninstall gcloud CLI using the OS package manager.\n\nFor Windows installations, execute the `uninstaller.exe` file in your\ngcloud CLI directory.\n\nTo remove the gcloud CLI, follow these instructions:\n\n1. Locate your installation directory by running:\n\n gcloud info --format='value(installation.sdk_root)'\n\n Locate your user config directory (typically `~/.config/gcloud`\n on MacOS and Linux) by running: \n\n gcloud info --format='value(config.paths.global_config_dir)'\n\n2. Delete both of these directories.\n\n3. Additionally, remove lines sourcing `completion.bash.inc` and\n `path.bash.inc` in your `.bashrc` or equivalent shell init file, if you\n added them during installation.\n\n4. Review the contents of the `.boto` file in your home directory and remove\n the sections **\\[GoogleCompute\\]** and **\\[GSUtil\\]** . In addition, review the\n sections **\\[OAuth2\\]** and **\\[Credentials\\]** for settings that are no longer\n needed.\n\n5. Some systems may have `Cache` directories such as `~/Library/Caches/` on\n Mac OS X. Find and delete these directories for your system:\n\n find ~/Library/Caches/ -type d -name \"google-cloud-sdk\" | xargs -i rm -r \"{}\""]]