For the complete documentation index, see llms.txt. A markdown version of this page is at /reference/tools/devtools/gcloud/index.md.

gcloud

The Google Cloud CLI, from Google's official apt repository.

Installs the Google Cloud CLI (gcloud).

devtools:
  - name: gcloud

The version field is not used by this recipe.

Updates

The Google Cloud CLI comes from Google’s package repository, so it moves with the operating system updates the workstation applies.

Purpose

Declares Google’s Cloud SDK apt repository and its signing key, then installs the google-cloud-cli package through the normal repository and package phases.

Debian and Ubuntu only

There is no musl build of the Google Cloud CLI. On Alpine this devtool fails with an explicit message.

Example

A cloud-operations workstation with all three vendor CLIs and browser-relayed logins:

devtools:
  - name: gcloud
  - name: aws
  - name: az
  - name: passthrough-www-browser
defaultLocalBinding:
  enabled: true
  urlForward:
    enabled: true

gcloud auth login inside the workstation then opens its consent URL in your computer’s browser.

Notes

  • The repository is added declaratively, so it interleaves with your own packageRepositories and packages and the index is refreshed once.
  • Authenticating gcloud is a runtime step inside the workstation; Ringleader does not inject cloud credentials into a workstation.