LoginSignup
0
1

More than 3 years have passed since last update.

個人的によく使うgcloudコマンドまとめ ~Google Cloud SDK 関連~

Last updated at Posted at 2020-12-09

はじめに

普段よく使うgcloudコマンドをまとめたメモです。
ここでは主にCloud SDK関連についてまとめています。

コマンドリスト

# コンポーネントのバージョン情報確認
$ gcloud version
# 使用可能な全てのコンポーネントを表示
$ gcloud components list

# コンポーネントをインストール
$ gcloud components install [COMPONENT NAME]

# インストールされているコンポーネントを削除
$ gcloud components remove [COMPONENT NAME]

# コンポーネントを最新バージョンに更新
$ gcloud components update

# インストールされているすべてのコンポーネントをバージョン1.2.3に更新するには
$ gcloud components update --version 1.2.3

# 現在使用しているものと同じコンポーネントを使用してCloudSDKを再インストール
$ gcloud components reinstall

# CloudSDKのインストールを以前の状態に復元
$ gcloud components restore

参考資料

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1