gcloud-version
Display Google Cloud SDK installed component versions
TLDR
Display version information for all installed components, along with available updates to them
Display help
SYNOPSIS
gcloud version [--format=FORMAT] [--help]
PARAMETERS
--format=FORMAT
Output format: csv, default(table), json, table, tsv, yaml, etc. E.g., --format="table(name,version)".
--help
Display detailed help for the command.
--verbosity=LEVEL
Global flag: Set logging verbosity (debug, info, warning, error, critical, none).
--log-http
Global flag: Log HTTP server requests to stderr.
DESCRIPTION
The gcloud version command is part of the Google Cloud CLI (formerly Cloud SDK), a toolset for interacting with Google Cloud Platform services from the command line.
It outputs the current installed versions of the gcloud CLI itself, along with key components like gsutil (Cloud Storage), bq (BigQuery), and other bundled tools such as kubectl for Kubernetes.
This is crucial for troubleshooting, verifying updates, or confirming compatibility before deployments. For example, it helps ensure you're running a supported version prior to using beta features or when reporting issues to Google Cloud support.
By default, output is in a human-readable table format listing component names and versions. No internet connection is required as it reads local installation data. Commonly used in scripts to check SDK status programmatically.
CAVEATS
Only shows locally installed versions; does not check for remote updates. Output may vary by SDK installation method (apt, yum, tarball).
TYPICAL OUTPUT
Google Cloud SDK 456.0.0
bq 2.1.5
core 2024.01.22
gsutil 5.28
INSTALLATION CHECK
Run after gcloud init or updates to verify setup.
HISTORY
Introduced in 2013 with initial Google Cloud SDK release. Evolved alongside gcloud CLI rebranding in 2021, now at version 400+. Widely used in CI/CD pipelines for version pinning.
SEE ALSO
gcloud components list(1), gcloud info(1), gcloud components update(1)


