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 are scripting with the gcloud CLI or one of the other Cloud SDK components and want to make sure that your scripts don't break as the result of a Cloud SDK update.
    • You are 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 are performing automated deployments of Cloud SDK to many machines that must be in sync with each other.
    • You are 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
  2. Download the appropriate archive compatible with your version:

    Platform Package Size SHA256 Checksum
    Linux 64-bit


    google-cloud-sdk-273.0.0-linux-x86_64.tar.gz 30.3 MB dc160e254980c256039b9f9f77040422792b12c92f823deb4674f41d274a6e00
    Linux 32-bit


    google-cloud-sdk-273.0.0-linux-x86.tar.gz 29.9 MB 69951125d1a8d75e7a907664a19662aa653de6aa0b23e505483c8192598afb46
    macOS 64-bit


    google-cloud-sdk-273.0.0-darwin-x86_64.tar.gz 22.9 MB bf5057707b971f48edef4262123d6012e138e840990ff873ed83494b293f3409
    macOS 32-bit


    google-cloud-sdk-273.0.0-darwin-x86.tar.gz 22.9 MB 8e3e94b207025181dde5ee12304d46af880ba6f82579da40347ac856def048bc
    Windows 64-bit

    (x86_64) 163.5 MB 25e1a977468de854509fdbaf3eec1d11c6333824b68fb76b9ccf6597b9735fbd
    Windows 64-bit

    (x86_64) with Python bundled 201.9 MB e2a65dcecc422ab4ca4617669004f937ee4a21d3cdd8a152e96b529fe45ffbd6
    Windows 32-bit

    (x86) 163.7 MB 9ada76ce955fd6d612839de02d161677e51a3e2dc2fe5aa1b3aa3b27983bbfd2
    Windows 32-bit

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

  4. Optional. If you'd like to add Cloud SDK tools to your path, run the install script. This should be run from the root of the folder you extracted above. Running this script will also generate instructions to enable command completion in your bash shell (Linux and macOS only) and enable usage reporting.

    • On Linux or macOS:

    • On Windows:


    Run --help or install.bat --help for a list of flags you can pass to this script.

  5. Run gcloud init to initialize the SDK:

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

Previous versions

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

Bu sayfayı yararlı buldunuz mu? Lütfen görüşünüzü bildirin:

Şunun hakkında geri bildirim gönderin...

Cloud SDK Documentation