Descarga la versión más reciente de la CLI de gdcloud
Descarga el paquete de la CLI de gdcloud en tu sistema desde la interfaz de usuario (IU).
Para descargar la CLI de gcloud a través de la IU, haz lo siguiente:
Pídele a IO que te ayude a configurar OrganizationNetworkPolicy (ONP) para permitir el tráfico desde un CIDR específico fuera de la organización al registro de artefactos. Usa el servicio "all" en la configuración de OrganizationNetworkPolicy.
Accede a la página Bienvenida de Google Distributed Cloud aislado.
Navega a la sección Connect with CLI.
Haz clic en Download CLI Bundle.
Descarga una versión archivada de la CLI de gcloud
Para descargar una versión diferente de la CLI de gdcloud, completa los siguientes pasos:
Pídele a IO que te ayude a configurar OrganizationNetworkPolicy (ONP) para permitir el tráfico desde un CIDR específico fuera de la organización al registro de artefactos. Usa el servicio "all" en la configuración de OrganizationNetworkPolicy.
Ve a la página Bienvenida de Google Distributed Cloud aislado.
En la sección Connect with CLI, haz clic en Download CLI Bundle.
Elige la versión compatible que te interese.
Extrae el paquete de la CLI de gcloud
Extrae el contenido del paquete de la CLI de gdcloud descargado a cualquier ubicación en tu sistema de archivos.
Para reemplazar una instalación existente, quita el directorio google-distributed-cloud-hosted-cli existente y extrae el archivo en la misma ubicación.
[[["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-05 (UTC)"],[[["\u003cp\u003eThis page explains the process of downloading the gdcloud CLI, which is essential for using Google Distributed Cloud (GDC) air-gapped commands in a Linux environment.\u003c/p\u003e\n"],["\u003cp\u003eUsers can download the most recent gdcloud CLI version directly from the Google Distributed Cloud air-gapped UI through the "Connect with CLI" section, after setting up the appropriate OrganizationNetworkPolicy.\u003c/p\u003e\n"],["\u003cp\u003eIt's also possible to download older, archived versions of the gdcloud CLI by navigating to the "Connect with CLI" section on the Welcome page, and selecting a chosen version.\u003c/p\u003e\n"],["\u003cp\u003eThe downloaded gdcloud CLI bundle is a compressed file, which must be extracted via the \u003ccode\u003etar -xf gdcloud_cli.tar.gz\u003c/code\u003e command.\u003c/p\u003e\n"],["\u003cp\u003eWhen replacing an existing installation of the gdcloud CLI, you must first delete the old installation directory before extracting the new bundle to the same location.\u003c/p\u003e\n"]]],[],null,["# Download the gdcloud CLI\n\nThis page details how to download the gdcloud CLI. You have two options for this download:\n\n1. [Download the latest version](#download-the-latest).\n2. [Download an archived version](#download-an-archived-version-of-the).\n\nDownload the latest gdcloud CLI\n-------------------------------\n\n| **Important:** All gdcloud CLI commands in the Google Distributed Cloud (GDC) air-gapped documentation use gdcloud CLI and require a Linux environment.\n\nDownload the gdcloud CLI bundle to your system from the user interface (UI).\n\nTo download the gdcloud CLI through the UI:\n\n1. Ask IO to help [configure OrganizationNetworkPolicy (ONP)](/distributed-cloud/hosted/docs/latest/gdch/platform/pa-user/org-network-policy) to allow traffic from a specific CIDR outside the organization to the artifact registry. Use service \"all\" in the OrganizationNetworkPolicy configuration.\n2. Sign in and access the Google Distributed Cloud air-gapped **Welcome** page.\n3. Navigate to the **Connect with CLI** section.\n4. Click **Download CLI Bundle**.\n\nDownload an archived version of the gdcloud CLI\n-----------------------------------------------\n\nTo download a different version of the gdcloud CLI, complete the\nfollowing steps:\n\n1. Ask IO to help [configure OrganizationNetworkPolicy (ONP)](/distributed-cloud/hosted/docs/latest/gdch/platform/pa-user/org-network-policy) to allow traffic from a specific CIDR outside the organization to the artifact registry. Use service \"all\" in the OrganizationNetworkPolicy configuration.\n2. Go to the Google Distributed Cloud air-gapped **Welcome** page.\n3. In the **Connect with CLI** section, click **Download CLI Bundle**.\n4. Choose the supported version of interest.\n\nExtract the gdcloud CLI bundle\n------------------------------\n\nExtract the contents of the downloaded gdcloud CLI bundle to any location on your file system.\n\nTo replace an existing installation, remove\nthe existing `google-distributed-cloud-hosted-cli` directory and extract the\narchive to the same location.\n\nExtract the bundle: \n\n tar -xf gdcloud_cli.tar.gz"]]