<Google Cloud Platform> Google Cloud SDKを入れなおす。
前にWindows版 --> Linux版 on msys2 と入れて、ぐちゃぐちゃ?っぽくなってしまったので、入れなおした。
両方削除して、Linux版だけ入れた。
下記から、zip
をダウンロードして展開。
Linux 用のクイックスタート | Cloud SDK のドキュメント | Google Cloud Platform
% gunzip google-cloud-sdk-180.0.0-linux-x86_64.tar.gz % tar xvf google-cloud-sdk-180.0.0-linux-x86_64.tar % cd google-cloud-sdk % ./install.sh Welcome to the Google Cloud SDK! To help improve the quality of this product, we collect anonymized usage data and anonymized stacktraces when crashes are encountered; additional information is available at <https://cloud.google.com/sdk/usage-statistics>. You may choose to opt out of this collection now (by choosing 'N' at the below prompt), or at any time in the future by running the following command: gcloud config set disable_usage_reporting true Do you want to help improve the Google Cloud SDK (Y/n)? n Your current Cloud SDK version is: 180.0.0 The latest available version is: 185.0.0 ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Components │ ├──────────────────┬────────────────────────────────────────────────┬──────────────────────────┬───────────┤ │ Status │ Name │ ID │ Size │ ├──────────────────┼────────────────────────────────────────────────┼──────────────────────────┼───────────┤ │ Update Available │ BigQuery Command Line Tool │ bq │ < 1 MiB │ │ Update Available │ Cloud SDK Core Libraries │ core │ 7.0 MiB │ │ Not Installed │ Cloud Datalab Command Line Tool │ datalab │ < 1 MiB │ │ Not Installed │ Cloud Datastore Emulator │ cloud-datastore-emulator │ 17.7 MiB │ │ Not Installed │ Cloud Datastore Emulator (Legacy) │ gcd-emulator │ 38.1 MiB │ │ Not Installed │ Cloud Pub/Sub Emulator │ pubsub-emulator │ 33.2 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 │ 118.7 MiB │ │ Not Installed │ gcloud app PHP Extensions │ app-engine-php │ │ │ Not Installed │ gcloud app Python Extensions │ app-engine-python │ 6.1 MiB │ │ Not Installed │ gcloud app Python Extensions (Extra Libraries) │ app-engine-python-extras │ 27.8 MiB │ │ Installed │ Cloud Storage Command Line Tool │ gsutil │ 3.3 MiB │ └──────────────────┴────────────────────────────────────────────────┴──────────────────────────┴───────────┘ To install or remove components at your current SDK version [180.0.0], run: $ gcloud components install COMPONENT_ID $ gcloud components remove COMPONENT_ID To update your SDK installation to the latest version [185.0.0], run: $ gcloud components update ==> Source [/home/Nekoyuki/google-cloud-sdk/completion.zsh.inc] in your profile to enable shell command completion for gcloud. ==> Source [/home/Nekoyuki/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
で、つづきはこちら。
Cloud SDK ツールの承認 | Cloud SDK のドキュメント | Google Cloud Platform
こちらも参考になる。