Stay organized with collections Save and categorize content based on your preferences.
The gcloud CLI provides downloadable, versioned archives for each release. Each versioned archive contains a self-contained installation of the gcloud CLI in a directory named google-cloud-sdk
that can be copied to any location on your file system.
Versioned archives are designed for non-interactive installation of specific versions of the gcloud CLI and are useful when:
You require a specific version of the gcloud CLI. For example:
You don't want to perform an interactive installation.
To install the latest release of the gcloud CLI from a versioned archive:
Check which version (64-bit or 32-bit) your OS is running on.
getconf LONG_BIT
from your command lineAdditionally, for macOS, to check your machine hardware name (x86_64, arm64, or x86), run uname -m
.
Download the appropriate archive compatible with your version:
Extract the contents of the file to any location on your file system. Preferably, this is your Home folder.
To add the gcloud CLI tools to your path, run the install script from the root of the folder you extracted. Running this script also generates instructions to enable command completion in your bash
shell (Linux and macOS only) and enable usage reporting.
On Linux or macOS:
./google-cloud-sdk/install.sh
To run the install script with screen reader mode turned on:
./google-cloud-sdk/install.sh --screen-reader=true
On Windows:
.\google-cloud-sdk\install.bat
Run install.sh --help
or install.bat --help
for a list of flags you can pass to this script, including those that can run the installation non-interactively.
n
when the installer prompted asking to modify your profile to update your PATH
and enable command completion, you can still set up your profile to do so (to ensure the gcloud CLI works correctly) by doing the following:
/path/to/gcloud/path.bash.inc
in your profile to add the gcloud CLI tools to your PATH
./path/to/gcloud/completion.bash.inc
in your profile to enable command completion for the gcloud CLI./path/to/gcloud/path.zsh.inc
in your profile to add the gcloud CLI command line tools to your PATH
./path/to/gcloud/completion.zsh.inc
in your profile to enable command completion for the gcloud CLI./path/to/gcloud/path.fish.inc
in your profile to add the gcloud CLI command line tools to your PATH
.To initialize the gcloud CLI, run gcloud init
:
For Linux or macOS:
./google-cloud-sdk/bin/gcloud init
For Windows:
.\google-cloud-sdk\bin\gcloud init
Previous versions of the gcloud CLI are available in the download archive in Cloud Storage. They are directly accessible through https://storage.googleapis.com/cloud-sdk-release/<archive_name>
.
If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
Get started for freeExcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-07 UTC.
[[["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-10-07 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.5