Difference between revisions of "Brew install --cask google-cloud-sdk"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | == Version 455.0.0 == | ||
+ | <pre> | ||
+ | ==> Caveats | ||
+ | To add gcloud components to your PATH, add this to your profile: | ||
+ | |||
+ | for bash users | ||
+ | source "$(brew --prefix)/share/google-cloud-sdk/path.bash.inc" | ||
+ | |||
+ | for zsh users | ||
+ | source "$(brew --prefix)/share/google-cloud-sdk/path.zsh.inc" | ||
+ | source "$(brew --prefix)/share/google-cloud-sdk/completion.zsh.inc" | ||
+ | |||
+ | for fish users | ||
+ | source "$(brew --prefix)/share/google-cloud-sdk/path.fish.inc" | ||
+ | |||
+ | ==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-cask/821ac931b663355a41e7c34ccf615193ecc3b706/Casks/g/google-cloud-s | ||
+ | ################################################################################################################################# 100.0% | ||
+ | ==> Downloading https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-455.0.0-darwin-arm.tar.gz | ||
+ | ################################################################################################################################# 100.0% | ||
+ | All formula dependencies satisfied. | ||
+ | ==> Installing Cask google-cloud-sdk | ||
+ | ==> Running installer script 'google-cloud-sdk/install.sh' | ||
+ | Welcome to the Google Cloud CLI! | ||
+ | |||
+ | Your current Google Cloud CLI version is: 455.0.0 | ||
+ | The latest available version is: 455.0.0 | ||
+ | |||
+ | ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ | ||
+ | │ Components │ | ||
+ | ├───────────────┬──────────────────────────────────────────────────────┬──────────────────────────────┬───────────┤ | ||
+ | │ Status │ Name │ ID │ Size │ | ||
+ | ├───────────────┼──────────────────────────────────────────────────────┼──────────────────────────────┼───────────┤ | ||
+ | │ Not Installed │ App Engine Go Extensions │ app-engine-go │ 4.3 MiB │ | ||
+ | │ Not Installed │ Appctl │ appctl │ 18.5 MiB │ | ||
+ | │ Not Installed │ Artifact Registry Go Module Package Helper │ package-go-module │ < 1 MiB │ | ||
+ | │ Not Installed │ Cloud Bigtable Command Line Tool │ cbt │ 15.4 MiB │ | ||
+ | │ Not Installed │ Cloud Bigtable Emulator │ bigtable │ 6.8 MiB │ | ||
+ | │ Not Installed │ Cloud Datastore Emulator │ cloud-datastore-emulator │ 36.2 MiB │ | ||
+ | │ Not Installed │ Cloud Firestore Emulator │ cloud-firestore-emulator │ 42.8 MiB │ | ||
+ | │ Not Installed │ Cloud Pub/Sub Emulator │ pubsub-emulator │ 62.1 MiB │ | ||
+ | │ Not Installed │ Cloud Run Proxy │ cloud-run-proxy │ 11.3 MiB │ | ||
+ | │ Not Installed │ Cloud SQL Proxy │ cloud_sql_proxy │ 7.3 MiB │ | ||
+ | │ Not Installed │ Google Container Registry's Docker credential helper │ docker-credential-gcr │ │ | ||
+ | │ Not Installed │ Kustomize │ kustomize │ 7.4 MiB │ | ||
+ | │ Not Installed │ Log Streaming │ log-streaming │ 11.9 MiB │ | ||
+ | │ Not Installed │ Minikube │ minikube │ 32.9 MiB │ | ||
+ | │ Not Installed │ Nomos CLI │ nomos │ 28.5 MiB │ | ||
+ | │ Not Installed │ On-Demand Scanning API extraction helper │ local-extract │ 13.7 MiB │ | ||
+ | │ Not Installed │ Skaffold │ skaffold │ 23.3 MiB │ | ||
+ | │ Not Installed │ Terraform Tools │ terraform-tools │ 63.6 MiB │ | ||
+ | │ Not Installed │ anthos-auth │ anthos-auth │ 19.2 MiB │ | ||
+ | │ Not Installed │ config-connector │ config-connector │ 55.6 MiB │ | ||
+ | │ Not Installed │ enterprise-certificate-proxy │ enterprise-certificate-proxy │ 6.1 MiB │ | ||
+ | │ Not Installed │ gcloud Alpha Commands │ alpha │ < 1 MiB │ | ||
+ | │ Not Installed │ gcloud Beta Commands │ beta │ < 1 MiB │ | ||
+ | │ Not Installed │ gcloud app Java Extensions │ app-engine-java │ 125.5 MiB │ | ||
+ | │ Not Installed │ gcloud app PHP Extensions │ app-engine-php │ 21.9 MiB │ | ||
+ | │ Not Installed │ gcloud app Python Extensions │ app-engine-python │ 8.4 MiB │ | ||
+ | │ Not Installed │ gcloud app Python Extensions (Extra Libraries) │ app-engine-python-extras │ 31.5 MiB │ | ||
+ | │ Not Installed │ gke-gcloud-auth-plugin │ gke-gcloud-auth-plugin │ 7.4 MiB │ | ||
+ | │ Not Installed │ kpt │ kpt │ 14.4 MiB │ | ||
+ | │ Not Installed │ kubectl │ kubectl │ < 1 MiB │ | ||
+ | │ Not Installed │ kubectl-oidc │ kubectl-oidc │ 19.2 MiB │ | ||
+ | │ Not Installed │ pkg │ pkg │ │ | ||
+ | │ Installed │ BigQuery Command Line Tool │ bq │ 1.6 MiB │ | ||
+ | │ Installed │ Cloud Storage Command Line Tool │ gsutil │ 11.3 MiB │ | ||
+ | │ Installed │ Google Cloud CLI Core Libraries │ core │ 21.8 MiB │ | ||
+ | │ Installed │ Google Cloud CRC32C Hash Tool │ gcloud-crc32c │ 1.2 MiB │ | ||
+ | └───────────────┴──────────────────────────────────────────────────────┴──────────────────────────────┴───────────┘ | ||
+ | |||
+ | For more information on how to get started, please visit: | ||
+ | https://cloud.google.com/sdk/docs/quickstarts | ||
+ | |||
+ | |||
+ | To install or remove components at your current SDK version [455.0.0], run: | ||
+ | $ gcloud components install COMPONENT_ID | ||
+ | $ gcloud components remove COMPONENT_ID | ||
+ | |||
+ | To update your SDK installation to the latest version [455.0.0], run: | ||
+ | $ gcloud components update | ||
+ | |||
+ | ==> Source [/Users/user/brew/share/google-cloud-sdk/completion.zsh.inc] in your profile to enable shell command completion for gcloud. | ||
+ | ==> Source [/Users/user/brew/share/google-cloud-sdk/path.zsh.inc] in your profile to add the Google Cloud SDK command line tools to your $PATH. | ||
+ | ==> Linking Binary 'docker-credential-gcloud' to '/Users/user/brew/bin/docker-credential-gcloud' | ||
+ | ==> Linking Binary 'gcloud' to '/Users/user/brew/bin/gcloud' | ||
+ | ==> Linking Binary 'git-credential-gcloud.sh' to '/Users/user/brew/bin/git-credential-gcloud' | ||
+ | ==> Linking Binary 'completion.bash.inc' to '/Users/user/brew/etc/bash_completion.d/google-cloud-sdk' | ||
+ | ==> Linking Binary 'completion.zsh.inc' to '/Users/user/brew/share/zsh/site-functions/_google_cloud_sdk' | ||
+ | ==> Linking Binary 'gsutil' to '/Users/user/brew/bin/gsutil' | ||
+ | ==> Linking Binary 'anthoscli' to '/Users/user/brew/bin/anthoscli' | ||
+ | ==> Linking Binary 'bq' to '/Users/user/brew/bin/bq' | ||
+ | </pre> | ||
== Version 390.0.0 == | == Version 390.0.0 == | ||
Line 118: | Line 210: | ||
* <code>[[anthoscli]]</code> | * <code>[[anthoscli]]</code> | ||
* <code>[[gcloud init]]</code> | * <code>[[gcloud init]]</code> | ||
+ | * <code>[[gcloud components install]]</code> | ||
== See also == | == See also == | ||
* {{gcloud}} | * {{gcloud}} | ||
− | |||
[[Category:GCP]] | [[Category:GCP]] |
Latest revision as of 19:37, 4 December 2023
Version 455.0.0[edit]
==> Caveats To add gcloud components to your PATH, add this to your profile: for bash users source "$(brew --prefix)/share/google-cloud-sdk/path.bash.inc" for zsh users source "$(brew --prefix)/share/google-cloud-sdk/path.zsh.inc" source "$(brew --prefix)/share/google-cloud-sdk/completion.zsh.inc" for fish users source "$(brew --prefix)/share/google-cloud-sdk/path.fish.inc" ==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-cask/821ac931b663355a41e7c34ccf615193ecc3b706/Casks/g/google-cloud-s ################################################################################################################################# 100.0% ==> Downloading https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-455.0.0-darwin-arm.tar.gz ################################################################################################################################# 100.0% All formula dependencies satisfied. ==> Installing Cask google-cloud-sdk ==> Running installer script 'google-cloud-sdk/install.sh' Welcome to the Google Cloud CLI! Your current Google Cloud CLI version is: 455.0.0 The latest available version is: 455.0.0 ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Components │ ├───────────────┬──────────────────────────────────────────────────────┬──────────────────────────────┬───────────┤ │ Status │ Name │ ID │ Size │ ├───────────────┼──────────────────────────────────────────────────────┼──────────────────────────────┼───────────┤ │ Not Installed │ App Engine Go Extensions │ app-engine-go │ 4.3 MiB │ │ Not Installed │ Appctl │ appctl │ 18.5 MiB │ │ Not Installed │ Artifact Registry Go Module Package Helper │ package-go-module │ < 1 MiB │ │ Not Installed │ Cloud Bigtable Command Line Tool │ cbt │ 15.4 MiB │ │ Not Installed │ Cloud Bigtable Emulator │ bigtable │ 6.8 MiB │ │ Not Installed │ Cloud Datastore Emulator │ cloud-datastore-emulator │ 36.2 MiB │ │ Not Installed │ Cloud Firestore Emulator │ cloud-firestore-emulator │ 42.8 MiB │ │ Not Installed │ Cloud Pub/Sub Emulator │ pubsub-emulator │ 62.1 MiB │ │ Not Installed │ Cloud Run Proxy │ cloud-run-proxy │ 11.3 MiB │ │ Not Installed │ Cloud SQL Proxy │ cloud_sql_proxy │ 7.3 MiB │ │ Not Installed │ Google Container Registry's Docker credential helper │ docker-credential-gcr │ │ │ Not Installed │ Kustomize │ kustomize │ 7.4 MiB │ │ Not Installed │ Log Streaming │ log-streaming │ 11.9 MiB │ │ Not Installed │ Minikube │ minikube │ 32.9 MiB │ │ Not Installed │ Nomos CLI │ nomos │ 28.5 MiB │ │ Not Installed │ On-Demand Scanning API extraction helper │ local-extract │ 13.7 MiB │ │ Not Installed │ Skaffold │ skaffold │ 23.3 MiB │ │ Not Installed │ Terraform Tools │ terraform-tools │ 63.6 MiB │ │ Not Installed │ anthos-auth │ anthos-auth │ 19.2 MiB │ │ Not Installed │ config-connector │ config-connector │ 55.6 MiB │ │ Not Installed │ enterprise-certificate-proxy │ enterprise-certificate-proxy │ 6.1 MiB │ │ Not Installed │ gcloud Alpha Commands │ alpha │ < 1 MiB │ │ Not Installed │ gcloud Beta Commands │ beta │ < 1 MiB │ │ Not Installed │ gcloud app Java Extensions │ app-engine-java │ 125.5 MiB │ │ Not Installed │ gcloud app PHP Extensions │ app-engine-php │ 21.9 MiB │ │ Not Installed │ gcloud app Python Extensions │ app-engine-python │ 8.4 MiB │ │ Not Installed │ gcloud app Python Extensions (Extra Libraries) │ app-engine-python-extras │ 31.5 MiB │ │ Not Installed │ gke-gcloud-auth-plugin │ gke-gcloud-auth-plugin │ 7.4 MiB │ │ Not Installed │ kpt │ kpt │ 14.4 MiB │ │ Not Installed │ kubectl │ kubectl │ < 1 MiB │ │ Not Installed │ kubectl-oidc │ kubectl-oidc │ 19.2 MiB │ │ Not Installed │ pkg │ pkg │ │ │ Installed │ BigQuery Command Line Tool │ bq │ 1.6 MiB │ │ Installed │ Cloud Storage Command Line Tool │ gsutil │ 11.3 MiB │ │ Installed │ Google Cloud CLI Core Libraries │ core │ 21.8 MiB │ │ Installed │ Google Cloud CRC32C Hash Tool │ gcloud-crc32c │ 1.2 MiB │ └───────────────┴──────────────────────────────────────────────────────┴──────────────────────────────┴───────────┘ For more information on how to get started, please visit: https://cloud.google.com/sdk/docs/quickstarts To install or remove components at your current SDK version [455.0.0], run: $ gcloud components install COMPONENT_ID $ gcloud components remove COMPONENT_ID To update your SDK installation to the latest version [455.0.0], run: $ gcloud components update ==> Source [/Users/user/brew/share/google-cloud-sdk/completion.zsh.inc] in your profile to enable shell command completion for gcloud. ==> Source [/Users/user/brew/share/google-cloud-sdk/path.zsh.inc] in your profile to add the Google Cloud SDK command line tools to your $PATH. ==> Linking Binary 'docker-credential-gcloud' to '/Users/user/brew/bin/docker-credential-gcloud' ==> Linking Binary 'gcloud' to '/Users/user/brew/bin/gcloud' ==> Linking Binary 'git-credential-gcloud.sh' to '/Users/user/brew/bin/git-credential-gcloud' ==> Linking Binary 'completion.bash.inc' to '/Users/user/brew/etc/bash_completion.d/google-cloud-sdk' ==> Linking Binary 'completion.zsh.inc' to '/Users/user/brew/share/zsh/site-functions/_google_cloud_sdk' ==> Linking Binary 'gsutil' to '/Users/user/brew/bin/gsutil' ==> Linking Binary 'anthoscli' to '/Users/user/brew/bin/anthoscli' ==> Linking Binary 'bq' to '/Users/user/brew/bin/bq'
Version 390.0.0[edit]
brew install --cask google-cloud-sdk
==> Caveats To install shell completions, add this to your profile: for bash users source "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.bash.inc" for zsh users source "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc" To add gcloud components to your PATH, add this to your profile: for bash users source "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.bash.inc" for zsh users source "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc" ==> Downloading https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz ######################################################################## 100.0% Warning: No checksum defined for cask 'google-cloud-sdk', skipping verification. All formula dependencies satisfied. ==> Installing Cask google-cloud-sdk ==> Running installer script 'google-cloud-sdk/install.sh' Welcome to the Google Cloud CLI! Beginning update. This process may take several minutes. Your current Google Cloud CLI version is: 390.0.0 Installing components from version: 390.0.0 ┌─────────────────────────────────────────────────────────────────────────────┐ │ These components will be installed. │ ├─────────────────────────────────────────────────────┬────────────┬──────────┤ │ Name │ Version │ Size │ ├─────────────────────────────────────────────────────┼────────────┼──────────┤ │ BigQuery Command Line Tool │ 2.0.75 │ 1.6 MiB │ │ BigQuery Command Line Tool (Platform Specific) │ 2.0.73 │ < 1 MiB │ │ Cloud Storage Command Line Tool │ 5.10 │ 15.5 MiB │ │ Cloud Storage Command Line Tool (Platform Specific) │ 5.6 │ < 1 MiB │ │ Google Cloud CLI Core Libraries (Platform Specific) │ 2022.01.28 │ < 1 MiB │ │ anthoscli │ 0.2.26 │ 46.5 MiB │ │ gcloud cli dependencies │ 2021.04.16 │ < 1 MiB │ └─────────────────────────────────────────────────────┴────────────┴──────────┘ For the latest full release notes, please visit: https://cloud.google.com/sdk/release_notes ╔════════════════════════════════════════════════════════════╗ ╠═ Creating update staging area ═╣ ╚════════════════════════════════════════════════════════════╝ ╔════════════════════════════════════════════════════════════╗ ╠═ Installing: BigQuery Command Line Tool ═╣ ╚════════════════════════════════════════════════════════════╝ ╔════════════════════════════════════════════════════════════╗ ╠═ Installing: BigQuery Command Line Tool (Platform Spec... ═╣ ╚════════════════════════════════════════════════════════════╝ ╔════════════════════════════════════════════════════════════╗ ╠═ Installing: Cloud Storage Command Line Tool ═╣ ╚════════════════════════════════════════════════════════════╝ ╔════════════════════════════════════════════════════════════╗ ╠═ Installing: Cloud Storage Command Line Tool (Platform... ═╣ ╚════════════════════════════════════════════════════════════╝ ╔════════════════════════════════════════════════════════════╗ ╠═ Installing: Default set of gcloud commands ═╣ ╚════════════════════════════════════════════════════════════╝ ╔════════════════════════════════════════════════════════════╗ ╠═ Installing: Google Cloud CLI Core Libraries (Platform... ═╣ ╚════════════════════════════════════════════════════════════╝ ╔════════════════════════════════════════════════════════════╗ ╠═ Installing: anthoscli ═╣ ╚════════════════════════════════════════════════════════════╝ ╔════════════════════════════════════════════════════════════╗ ╠═ Installing: anthoscli ═╣ ╚════════════════════════════════════════════════════════════╝ ╔════════════════════════════════════════════════════════════╗ ╠═ Installing: gcloud cli dependencies ═╣ ╚════════════════════════════════════════════════════════════╝ ╔════════════════════════════════════════════════════════════╗ ╠═ Creating backup and activating new installation ═╣ ╚════════════════════════════════════════════════════════════╝ Performing post processing steps... ..........................................done. Update done! This will install all the core command line tools necessary for working with the Google Cloud Platform. ==> Source [/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc] in your profile to enable shell command completion for gcloud. ==> Source [/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc] in your profile to add the Google Cloud SDK command line tools to your $PATH. For more information on how to get started, please visit: https://cloud.google.com/sdk/docs/quickstarts ==> Linking Binary 'bq' to '/opt/homebrew/bin/bq' ==> Linking Binary 'docker-credential-gcloud' to '/opt/homebrew/bin/docker-credential-gcloud' ==> Linking Binary 'gcloud' to '/opt/homebrew/bin/gcloud' ==> Linking Binary 'git-credential-gcloud.sh' to '/opt/homebrew/bin/git-credential-gcloud' ==> Linking Binary 'gsutil' to '/opt/homebrew/bin/gsutil' ==> Linking Binary 'anthoscli' to '/opt/homebrew/bin/anthoscli' 🍺 google-cloud-sdk was successfully installed!
Related[edit]
See also[edit]
gcloud
[config | scheduler | auth | asset | services | gcloud auth login | iam | sql | projects | container
|compute | kms
|source
],gcloud composer environments create
|build
|gcloud config set project
,gcloud source repos create
,gcloud composer environments create
,gcloud version
,gcloud --help
Advertising: