https://cloud.google.com/sdk/docs/quickstart-mac-os-x
tarをダウンロードし、install.shを実行しました
次に、このメッセージが表示されましたが、rc / .rcファイルが表示されませんか?
To update your SDK installation to the latest version [162.0.1], run:
$ gcloud components update
Modify profile to update your $PATH and enable shell command
completion?
Do you want to continue (Y/n)? y
The Google Cloud SDK installer will now prompt you to update an rc
file to bring the Google Cloud CLIs into your environment.
Enter a path to an rc file to update, or leave blank to use
[/Users/leongaban/.zshrc]:
クラウドSDKインストーラーのレオンは、クラウドSDKの$PATH
コマンドのシェル補完を更新およびインストールするオプションを提供します。これは、シェル起動スクリプト(一般にrc
ファイルと呼ばれます)に数行を追加することによって行われます。
y
この手順を続行することを選択したため、インストーラーはrc
ファイルの場所(つまり、シェル起動スクリプト)を要求します。zsh
、このファイルを更新するためのデフォルトのオプションが提供されます/Users/leongaban/.zshrc
。bash
場合は、次のようなものを指定する必要があります/Users/leongaban/.bashrc
n
前の手順で選択して、$PATH
手動で更新やシェルの完了を行うこともできます。
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加