Difference between revisions of "Google Cloud SDK"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
=== Linux ===
 
=== Linux ===
  
  echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
+
  echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a [[/etc/apt/sources.list.d/]]google-cloud-sdk.list
 
  [[sudo apt-get install apt-transport-https ca-certificates gnupg]]
 
  [[sudo apt-get install apt-transport-https ca-certificates gnupg]]
 
  [[sudo apt-get update]] && [[sudo apt-get install]] [[google-cloud-sdk]]</code>
 
  [[sudo apt-get update]] && [[sudo apt-get install]] [[google-cloud-sdk]]</code>

Revision as of 10:51, 8 December 2023

Installation

Linux

echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
sudo apt-get install apt-transport-https ca-certificates gnupg
sudo apt-get update && sudo apt-get install google-cloud-sdk
snap install google-cloud-sdk --classic


macOS

brew cask install google-cloud-sdk
Welcome to the Google Cloud SDK!
 Your current Cloud SDK version is: 277.0.0
 Installing components from version: 277.0.0

+----------------------------------------------------------------------------+
|                    These components will be installed.                     |
+-----------------------------------------------------+------------+---------+
|                         Name                        |  Version   |   Size  |
+-----------------------------------------------------+------------+---------+
| BigQuery Command Line Tool                          |     2.0.52 | < 1 MiB |
| BigQuery Command Line Tool (Platform Specific)      |     2.0.51 | < 1 MiB |
| Cloud SDK Core Libraries (Platform Specific)        | 2019.12.17 | < 1 MiB |
| Cloud Storage Command Line Tool                     |       4.47 | 3.6 MiB |
| Cloud Storage Command Line Tool (Platform Specific) |       4.46 | < 1 MiB |
| Default set of gcloud commands                      |            |         |
| gcloud cli dependencies                             | 2018.08.03 | 1.5 MiB |
+-----------------------------------------------------+------------+---------+

For the latest full release notes, please visit:
  https://cloud.google.com/sdk/release_notes
.../...

Related terms

See also

Advertising: