Installing from versioned archives

Cloud SDK provides downloadable, versioned archives for each release. Each versioned archive contains a self-contained installation of Cloud SDK in a directory named google-cloud-sdk that can be copied to any location on your file system.

Best uses for installing from versioned archives

Versioned archives are designed for non-interactive installation of specific versions of Cloud SDK and are useful when:

  • You require a specific version of Cloud SDK. For example:

    • You're scripting with the gcloud tool or another Cloud SDK component and want to make sure that your scripts don't break as the result of a Cloud SDK update.
    • You're using Cloud SDK as part of a CI (continuous integration) process or production system where you want to control your dependencies in order to ensure compatibility between parts of the system.
    • You're performing automated deployments of Cloud SDK to many machines that must be in sync.
    • You're behind a proxy or firewall that requires additional configuration to be able to access the internet.
  • You don't want to perform an interactive installation.

Installation instructions

To install the latest release of Cloud SDK from a versioned archive:

  1. Check which version (64-bit or 32-bit) your OS is running on.

    • Linux / macOS: Run getconf LONG_BIT from your command line
    • Windows: Control Panel > System > System Type

    Additionally, for macOS, to check your machine hardware name (x86_64, arm64, or x86), run uname -m.

  2. Download the appropriate archive compatible with your version:

    Platform Package Size SHA256 Checksum
    Linux 64-bit


    google-cloud-sdk-365.0.1-linux-x86_64.tar.gz 92.7 MB 17003cdba67a868c2518ac16efa60dc6175533b7a9fb87304459784308e30fb0
    Linux 32-bit


    google-cloud-sdk-365.0.1-linux-x86.tar.gz 90.1 MB 9cf354476192935d9d43db455f777e43daf2b59bb9110ff3f21d533e550916cf
    macOS 64-bit


    google-cloud-sdk-365.0.1-darwin-x86_64.tar.gz 93.2 MB 4ae8a3274eb9b6fca5761ef2eed713bc3486256d11268575febe3351e9e4d902
    macOS 64-bit


    google-cloud-sdk-365.0.1-darwin-arm.tar.gz 93.2 MB 636591e597730649011f510fc8c78e2b133ef8b417992f8d923a87a528dc6d5e
    macOS 32-bit


    google-cloud-sdk-365.0.1-darwin-x86.tar.gz 97.0 MB b3b04f7f5577347d5c30277d4bf6aa2d1a182c1ff8f9cc04edf0dee6f0b8c4a9
    Windows 64-bit

    (x86_64) 109.9 MB 7fdd260e5035b0c2e83b2b4b0df230867e60597ad927c71939e6141a30e2ceb5
    Windows 64-bit

    (x86_64) with Python bundled 146.2 MB baa01620050c4b5103535d98004614e9ab5c8f0cf5617a5c4c946f392e744443
    Windows 32-bit

    (x86) 108.1 MB 7d82123dc93c71fd9235e344063ea7e8db3feb8ac5955772b682fff03e5c06ef
    Windows 32-bit

    (x86) with Python bundled 141.5 MB a7e59001587634e01b1e0af9e75667edd9b5f33c5c3704ad699a3ce67bb9d63c
  3. Extract the contents of the file to any location on your file system. Preferably, this is your Home folder.

  4. To add Cloud SDK 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:


      To run the install script with screen reader mode turned on:

      ./google-cloud-sdk/ --screen-reader=true
    • On Windows:


    Run --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.

  5. Run gcloud init to initialize the SDK.

    • For Linux or macOS:

      ./google-cloud-sdk/bin/gcloud init
    • For Windows:

      .\google-cloud-sdk\bin\gcloud init

Previous versions

Previous versions of Cloud SDK are available in the download archive in Cloud Storage. They are directly accessible through<archive_name>.

Try it for yourself

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 free