Open3
ubuntu に gloudコマンドのインストール

ここを参照していく。

必要なライブラリのインストール
sudo apt-get install apt-transport-https ca-certificates gnupg
パッケージソースの追加
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
公開鍵のインポート
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo tee /usr/share/keyrings/cloud.google.gpg

インストール
sudo apt-get update && sudo apt-get install google-cloud-cli
ログイン
gcloud auth login
出てきたURLを読み込み、出てきたキーをコピペ
こんなかんじの画面が出てきたら成功。