Laden Sie das gdcloud CLI-Bundle über die Benutzeroberfläche auf Ihr System herunter.
So laden Sie die gcloud CLI über die Benutzeroberfläche herunter:
Bitten Sie IO, Ihnen bei der Konfiguration von OrganizationNetworkPolicy (ONP) zu helfen, um Traffic von einem bestimmten CIDR außerhalb der Organisation zur Artifact Registry zuzulassen. Verwenden Sie den Dienst „all“ in der OrganizationNetworkPolicy-Konfiguration.
Melden Sie sich an und rufen Sie die Willkommensseite von Google Distributed Cloud mit Air Gap auf.
Gehen Sie zum Abschnitt Mit CLI verbinden.
Klicken Sie auf CLI-Bundle herunterladen.
Archivierte Version der gcloud CLI herunterladen
So laden Sie eine andere Version der gcloud CLI herunter:
Bitten Sie IO, Ihnen bei der Konfiguration von OrganizationNetworkPolicy (ONP) zu helfen, um Traffic von einem bestimmten CIDR außerhalb der Organisation zur Artifact Registry zuzulassen. Verwenden Sie den Dienst „all“ in der OrganizationNetworkPolicy-Konfiguration.
Rufen Sie die Willkommensseite für Google Distributed Cloud Air Gapped auf.
Klicken Sie im Bereich Mit CLI verbinden auf CLI-Bundle herunterladen.
Wählen Sie die gewünschte unterstützte Version aus.
gcloud-CLI-Bundle extrahieren
Extrahieren Sie den Inhalt des heruntergeladenen gcloud CLI-Bundles an einen beliebigen Speicherort in Ihrem Dateisystem.
Wenn Sie eine vorhandene Installation ersetzen möchten, entfernen Sie das vorhandene Verzeichnis google-distributed-cloud-hosted-cli und extrahieren Sie das Archiv an denselben Speicherort.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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"]]