Google Cloud CLI: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== References == {| | valign="top" | * [https://cloud.google.com/sdk/docs/install GCloud » Install] * [https://cloud.google.com/cli GCloud] | valign="top" | | valign="top" | |- | colspan="3" | ---- |- | valign="top" | * [https://serverfault.com/questions/283129/ SSH » Connection Hang Forever] * Docker Compose * Linux Containers * Kubernetes * Terraform * Remmina * OpenVPN * X11VNC * Podman * XRDP | valign="top" | * Vagrant *...") |
No edit summary |
||
Line 1: | Line 1: | ||
<syntaxhighlight lang="bash"> | |||
sudo apt update | |||
sudo apt install apt-transport-https ca-certificates gnupg curl | |||
# register apt-get repository | |||
curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg \ | |||
| sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg | |||
cat << EOF | sudo tee /etc/apt/sources.list.d/google-cloud-sdk.list >/dev/null | |||
deb [arch=$(dpkg --print-architecture) \ | |||
signed-by=/usr/share/keyrings/cloud.google.gpg] \ | |||
https://packages.cloud.google.com/apt cloud-sdk main | |||
EOF | |||
sudo apt update | |||
sudo apt install google-cloud-cli | |||
</syntaxhighlight> | |||
== References == | == References == | ||
{| | {| |
Revision as of 02:01, 13 May 2024
sudo apt update
sudo apt install apt-transport-https ca-certificates gnupg curl
# register apt-get repository
curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg \
| sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg
cat << EOF | sudo tee /etc/apt/sources.list.d/google-cloud-sdk.list >/dev/null
deb [arch=$(dpkg --print-architecture) \
signed-by=/usr/share/keyrings/cloud.google.gpg] \
https://packages.cloud.google.com/apt cloud-sdk main
EOF
sudo apt update
sudo apt install google-cloud-cli
References
| ||