Download the gdcloud CLI bundle to your system from the user interface (UI).
To download the gdcloud CLI through the UI:
Ask IO to help configure OrganizationNetworkPolicy (ONP) to allow traffic from a specific CIDR outside the organization to the artifact registry. Use service "all" in the OrganizationNetworkPolicy configuration.
Sign in and access the Google Distributed Cloud air-gapped Welcome page.
Navigate to the Connect with CLI section.
Click Download CLI Bundle.
Download an archived version of the gdcloud CLI
To download a different version of the gdcloud CLI, complete the
following steps:
Ask IO to help configure OrganizationNetworkPolicy (ONP) to allow traffic from a specific CIDR outside the organization to the artifact registry. Use service "all" in the OrganizationNetworkPolicy configuration.
Go to the Google Distributed Cloud air-gapped Welcome page.
In the Connect with CLI section, click Download CLI Bundle.
Choose the supported version of interest.
Extract the gdcloud CLI bundle
Extract the contents of the downloaded gdcloud CLI bundle to any location on your file system.
To replace an existing installation, remove
the existing google-distributed-cloud-hosted-cli directory and extract the
archive to the same location.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-25 UTC."],[[["This 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."],["Users 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."],["It'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."],["The downloaded gdcloud CLI bundle is a compressed file, which must be extracted via the `tar -xf gdcloud_cli.tar.gz` command."],["When 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."]]],[]]