Download paket gdcloud CLI ke sistem Anda dari antarmuka pengguna (UI).
Untuk mendownload gdcloud CLI melalui UI:
Minta IO untuk membantu mengonfigurasi OrganizationNetworkPolicy (ONP) guna mengizinkan traffic dari CIDR tertentu di luar organisasi ke artifact registry. Gunakan layanan "all" dalam konfigurasi OrganizationNetworkPolicy.
Login dan akses halaman Selamat Datang Google Distributed Cloud dengan air gap.
Buka bagian Connect with CLI.
Klik Download CLI Bundle.
Mendownload versi gcloud CLI yang diarsipkan
Untuk mendownload gdcloud CLI versi lain, selesaikan langkah-langkah berikut:
Minta IO untuk membantu mengonfigurasi OrganizationNetworkPolicy (ONP) guna mengizinkan traffic dari CIDR tertentu di luar organisasi ke artifact registry. Gunakan layanan "all" dalam konfigurasi OrganizationNetworkPolicy.
Buka halaman Selamat Datang Google Distributed Cloud dengan air gap.
Di bagian Connect with CLI, klik Download CLI Bundle.
Pilih versi yang didukung yang Anda inginkan.
Mengekstrak paket gdcloud CLI
Ekstrak konten paket gdcloud CLI yang didownload ke lokasi mana pun di sistem file Anda.
Untuk mengganti penginstalan yang ada, hapus
direktori google-distributed-cloud-hosted-cli yang ada dan ekstrak
arsip ke lokasi yang sama.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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"]]