Leo*_*ban 10 google-cloud-platform gcloud google-cloud-sdk
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]:
Run Code Online (Sandbox Code Playgroud)
Tux*_*ude 11
Leon,Cloud SDK 安装程序为您提供了一个选项来更新您的$PATH
以及安装 Cloud SDK 中命令的 shell 完成。这是通过在您的 shell 启动脚本(通常称为rc
文件)中添加几行来完成的。
y
继续执行此步骤,安装程序会询问rc
文件的位置(即 shell 启动脚本)。zsh
,因此它为您提供了更新此文件的默认选项/Users/leongaban/.zshrc
。bash
,则必须指定类似的内容/Users/leongaban/.bashrc
您也可以n
在上一步中选择$PATH
并手动更新和/或 shell 完成。
归档时间: |
|
查看次数: |
10865 次 |
最近记录: |