Difference between revisions of "Apt-get install google-cloud-sdk"
Jump to navigation
Jump to search
(Created page with "{{lc}} * Ubuntu <ref>https://cloud.google.com/sdk/docs/install#deb</ref>: <code>sudo apt-get install -y sudo curl</code> <code>sudo apt-get install -y apt...") |
|||
Line 6: | Line 6: | ||
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo [[gpg --dearmor]] -o [[/usr/share/keyrings/]]cloud.google.gpg | curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo [[gpg --dearmor]] -o [[/usr/share/keyrings/]]cloud.google.gpg | ||
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]] | ||
− | <code>[[sudo apt-get update]] && sudo [[apt-get install google-cloud-sdk]]</code> | + | <code>[[sudo apt-get update]] && sudo [[apt-get install -y google-cloud-sdk]]</code> |
{{gcloud}} | {{gcloud}} |
Revision as of 11:00, 8 December 2023
- Ubuntu [1]:
sudo apt-get install -y sudo curl
sudo apt-get install -y apt-transport-https ca-certificates gnupg
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg 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.listsudo apt-get update && sudo apt-get install -y google-cloud-sdk
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: