This page details how to download the gdcloud CLI. You have two options for this download:
Download the latest gdcloud CLI
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.
Extract the bundle:
tar -xf gdcloud_cli.tar.gz