# Google Cloud CLI

A command-line toolset for managing Google Cloud projects, cloud resources, and applications, suited for terminal operations and automated deployment.

> This is the Markdown version of the Google Cloud CLI page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/gcloud-cli>

- **Latest version**: `594.0.1`
- **Developer**: Google
- **Homepage**: <https://cloud.google.com/cli/>
- **Categories**: [Developer Tools](https://opennavo.com/categories/developer-tools)
- **Install**: `brew install --cask gcloud-cli`
- **30-day installs**: 49,072
- **Homebrew**: Available; the app updates itself
- **Former tokens**: google-cloud-sdk
- **Download URL**: <https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-594.0.1-darwin-arm.tar.gz>
- **SHA-256**: `2e51f02d41d0d5f405e64f4db55f75dbc71de0c92ee4172c67a3d418427775a1`
- **Commands**: git-credential-gcloud, gsutil, bq, docker-credential-gcloud, gcloud

SHA-256 only checks that the download is complete; it is not a security certification.

## Caveats

To use additional binary components installed via gcloud, add the "$HOMEBREW_PREFIX/share/google-cloud-sdk/bin" directory to your PATH environment variable, e.g., (for Bash shell): export PATH=$HOMEBREW_PREFIX/share/google-cloud-sdk/bin:"$PATH"

## Installation and removal contents

```json
[
  {
    "declaration": {
      "preflight_steps": [
        {
          "steps": [
            {
              "recursive": true,
              "source": {
                "base": "staged_path",
                "path": "google-cloud-sdk/."
              },
              "target": {
                "base": "homebrew_prefix",
                "path": "share/google-cloud-sdk"
              },
              "type": "copy"
            },
            {
              "paths": [
                {
                  "base": "staged_path",
                  "path": "google-cloud-sdk"
                }
              ],
              "recursive": true,
              "type": "remove"
            },
            {
              "source": {
                "path": "{{HOMEBREW_PREFIX}}/share/google-cloud-sdk"
              },
              "target": {
                "base": "staged_path",
                "path": "google-cloud-sdk"
              },
              "type": "symlink"
            }
          ]
        }
      ]
    },
    "phase": "install",
    "sources": [],
    "type": "preflight_steps"
  },
  {
    "declaration": {
      "uninstall": [
        {
          "trash": "$HOMEBREW_PREFIX/Caskroom/gcloud-cli/latest"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "installer": [
        {
          "script": {
            "args": [
              "--quiet",
              "--usage-reporting",
              "false",
              "--bash-completion",
              "false",
              "--path-update",
              "false",
              "--rc-path",
              "false",
              "--update-installed-components",
              "--install-python",
              "false"
            ],
            "executable": "google-cloud-sdk/install.sh"
          }
        }
      ]
    },
    "phase": "install",
    "sources": [],
    "type": "installer"
  },
  {
    "declaration": {
      "binary": [
        "google-cloud-sdk/bin/git-credential-gcloud.sh",
        {
          "target": "git-credential-gcloud"
        }
      ],
      "target": "$HOMEBREW_PREFIX/bin/git-credential-gcloud"
    },
    "phase": "install",
    "sources": [
      "google-cloud-sdk/bin/git-credential-gcloud.sh"
    ],
    "target": "$HOMEBREW_PREFIX/bin/git-credential-gcloud",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "google-cloud-sdk/bin/gsutil"
      ],
      "target": "$HOMEBREW_PREFIX/bin/gsutil"
    },
    "phase": "install",
    "sources": [
      "google-cloud-sdk/bin/gsutil"
    ],
    "target": "$HOMEBREW_PREFIX/bin/gsutil",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "google-cloud-sdk/bin/bq"
      ],
      "target": "$HOMEBREW_PREFIX/bin/bq"
    },
    "phase": "install",
    "sources": [
      "google-cloud-sdk/bin/bq"
    ],
    "target": "$HOMEBREW_PREFIX/bin/bq",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "google-cloud-sdk/bin/docker-credential-gcloud"
      ],
      "target": "$HOMEBREW_PREFIX/bin/docker-credential-gcloud"
    },
    "phase": "install",
    "sources": [
      "google-cloud-sdk/bin/docker-credential-gcloud"
    ],
    "target": "$HOMEBREW_PREFIX/bin/docker-credential-gcloud",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "google-cloud-sdk/bin/gcloud"
      ],
      "target": "$HOMEBREW_PREFIX/bin/gcloud"
    },
    "phase": "install",
    "sources": [
      "google-cloud-sdk/bin/gcloud"
    ],
    "target": "$HOMEBREW_PREFIX/bin/gcloud",
    "type": "binary"
  },
  {
    "declaration": {
      "bash_completion": [
        "google-cloud-sdk/completion.bash.inc",
        {
          "target": "google-cloud-sdk"
        }
      ],
      "target": "$HOMEBREW_PREFIX/etc/bash_completion.d/google-cloud-sdk"
    },
    "phase": "install",
    "sources": [
      "google-cloud-sdk/completion.bash.inc"
    ],
    "target": "$HOMEBREW_PREFIX/etc/bash_completion.d/google-cloud-sdk",
    "type": "bash_completion"
  },
  {
    "declaration": {
      "target": "$HOMEBREW_PREFIX/share/zsh/site-functions/_google_cloud_sdk",
      "zsh_completion": [
        "google-cloud-sdk/completion.zsh.inc",
        {
          "target": "_google_cloud_sdk"
        }
      ]
    },
    "phase": "install",
    "sources": [
      "google-cloud-sdk/completion.zsh.inc"
    ],
    "target": "$HOMEBREW_PREFIX/share/zsh/site-functions/_google_cloud_sdk",
    "type": "zsh_completion"
  },
  {
    "declaration": {
      "postflight_steps": [
        {
          "steps": [
            {
              "force": true,
              "guards": [
                {
                  "condition": "unless_exists",
                  "id": "1",
                  "path": "{{caskroom_path}}/latest"
                }
              ],
              "source": {
                "path": "{{staged_path}}"
              },
              "target": {
                "path": "{{caskroom_path}}/latest"
              },
              "type": "symlink"
            },
            {
              "args": [
                "config",
                "virtualenv",
                "delete",
                "-q"
              ],
              "command": {
                "base": "homebrew_prefix",
                "path": "share/google-cloud-sdk/bin/gcloud"
              },
              "env": {
                "CLOUDSDK_PYTHON": "{{HOMEBREW_PREFIX}}/opt/python@3.14/libexec/bin/python"
              },
              "guards": [
                {
                  "condition": "on",
                  "id": "2",
                  "value": "macos"
                },
                {
                  "condition": "if_exists",
                  "id": "3",
                  "path": "~/.config/gcloud/virtenv"
                }
              ],
              "type": "run"
            },
            {
              "args": [
                "config",
                "virtualenv",
                "create",
                "--python-to-use",
                "{{HOMEBREW_PREFIX}}/opt/python@3.14/libexec/bin/python"
              ],
              "command": {
                "base": "homebrew_prefix",
                "path": "share/google-cloud-sdk/bin/gcloud"
              },
              "env": {
                "CLOUDSDK_PYTHON": "{{HOMEBREW_PREFIX}}/opt/python@3.14/libexec/bin/python"
              },
              "guards": [
                {
                  "condition": "on",
                  "id": "2",
                  "value": "macos"
                }
              ],
              "network_access": true,
              "type": "run"
            },
            {
              "args": [
                "config",
                "virtualenv",
                "enable"
              ],
              "command": {
                "base": "homebrew_prefix",
                "path": "share/google-cloud-sdk/bin/gcloud"
              },
              "env": {
                "CLOUDSDK_PYTHON": "{{HOMEBREW_PREFIX}}/opt/python@3.14/libexec/bin/python"
              },
              "guards": [
                {
                  "condition": "on",
                  "id": "2",
                  "value": "macos"
                }
              ],
              "type": "run"
            },
            {
              "args": [
                "version"
              ],
              "command": {
                "base": "homebrew_prefix",
                "path": "share/google-cloud-sdk/bin/gcloud"
              },
              "env": {
                "CLOUDSDK_PYTHON": "{{HOMEBREW_PREFIX}}/opt/python@3.14/libexec/bin/python"
              },
              "guards": [
                {
                  "condition": "on",
                  "id": "2",
                  "value": "macos"
                }
              ],
              "type": "run"
            }
          ]
        }
      ]
    },
    "phase": "install",
    "sources": [],
    "type": "postflight_steps"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "$HOMEBREW_PREFIX/share/google-cloud-sdk.staging",
            "$HOMEBREW_PREFIX/share/google-cloud-sdk"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

Google Cloud CLI is Google's command-line client for creating and managing Google Cloud projects, resources, and application deploys from a terminal. The current recorded version is 592.0.0. On a Mac it installs from Google's archives or with Homebrew, then you run `gcloud init` to choose an account and a project.

### What it is for

`gcloud` covers project configuration, authentication, and resource commands. Component packages add extra command groups and can be installed or removed with `gcloud components`. The CLI is the terminal counterpart of Cloud Console: both use the same Google Cloud account. Scripts can call the same commands without the browser. Related clients are listed in the [Developer Tools category](/categories/developer-tools).

### Install on Mac

Google publishes separate macOS archives for 64-bit Intel (x86_64) and 64-bit ARM64 (Apple silicon). Google's install guide also documents Homebrew. After install, run `gcloud init` to sign in and set a project and default region, or `gcloud auth login` when you only need to refresh credentials. Check the build with `gcloud version`.

Update an archive install with `gcloud components update`. A Homebrew install follows that formula's upgrade command so you do not mix two copies on PATH.

### System requirements

Google's install guide says the CLI requires Python 3.10 to 3.15. Confirm the Mac architecture with `uname -m` before choosing the x86_64 or ARM64 archive. The Homebrew cask records both Apple Silicon and Intel. The install guide's package table does not state a macOS version minimum, RAM minimum, or a single disk figure beyond the listed archive sizes (about 54.8 MB for x86_64 and 54.7 MB for ARM64).

### Price and licence

Google documents the CLI as the client for a Google Cloud account. The client download is available without a separate software price on the product page. Resources you create are billed by those Google Cloud services. Authentication uses a Google account that has access to the project.

### Versions

The recorded version is 592.0.0. Google publishes CLI release notes for component and command changes. Compare Microsoft's client on the [Azure CLI](/apps/azure-cli) page and AWS session access on [Session Manager Plugin](/apps/session-manager-plugin).

### Related tools

Azure CLI administers Azure subscriptions. Session Manager Plugin opens AWS Systems Manager sessions. Use the client that matches the cloud account you already have. More terminal tools for Mac are in the [Developer Workbench collection](/collections/developer-workbench).

### FAQ

#### Which Python versions does the CLI need?

Google's install guide requires Python 3.10 to 3.15.

#### How do I pick a project?

Run `gcloud init` and select the account and project, or set them later with `gcloud config set project`.

#### Does installing the CLI create cloud charges?

Installing the client does not by itself create billable resources. Charges start when you provision Google Cloud services on the account.

#### How do I tell Intel and Apple silicon packages apart?

Run `uname -m`. Google lists a darwin-x86_64 archive and a darwin-arm archive.

Last updated: 2026-11-05. Sources: Google Cloud CLI install guide (https://docs.cloud.google.com/sdk/docs/install-sdk) for Python 3.10–3.15 and the macOS archive table, and the Homebrew cask record for version 592.0.0.

## System requirements

- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 594.0.1 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/g/gcloud-cli.rb> · Checked 2026-11-22
  - <https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-594.0.1-darwin-x86_64.tar.gz>
  - SHA-256: `2ff5c9cf457c0a7ec9edc830cf56a31c99dac8cda7ecaf77e9562fbb53f8ec22`
- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 594.0.1 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/g/gcloud-cli.rb> · Checked 2026-11-22
  - <https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-594.0.1-darwin-arm.tar.gz>
  - SHA-256: `2e51f02d41d0d5f405e64f4db55f75dbc71de0c92ee4172c67a3d418427775a1`

## Uninstall

- `brew uninstall --cask gcloud-cli`

A regular uninstall removes the app and keeps its settings and caches.

### Uninstalling also removes

- Files and folders: `$HOMEBREW_PREFIX/Caskroom/gcloud-cli/latest` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/g/gcloud-cli.rb> · These entries come from the Homebrew definition, checked 2026-11-22. They say what it declares, not what is on your Mac.

### Deep clean (optional)

- `brew uninstall --zap --cask gcloud-cli`

`--zap` also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out `--zap`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `$HOMEBREW_PREFIX/share/google-cloud-sdk.staging` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/g/gcloud-cli.rb> · These entries come from the Homebrew definition, checked 2026-11-22. They say what it declares, not what is on your Mac.
- Files and folders: `$HOMEBREW_PREFIX/share/google-cloud-sdk` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/g/gcloud-cli.rb> · These entries come from the Homebrew definition, checked 2026-11-22. They say what it declares, not what is on your Mac.

## Facts and sources

- <https://opennavo.com/apps/gcloud-cli>
- <https://opennavo.com/apps/gcloud-cli/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/g/gcloud-cli.rb> · Checked 2026-11-22
- <https://formulae.brew.sh/cask/gcloud-cli>
