如何完全删除gcloud? [英] How to remove gcloud fully?

查看:109
本文介绍了如何完全删除gcloud?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Mac上的新手.我只是删除gcloud文件夹.现在,当我打开命令行窗口时,总是看到下一个: -bash:/Users/myuser/gcloud/google-cloud-sdk/completion.bash.inc:没有这样的文件或目录 -bash:/Users/myuser/google-cloud-sdk/path.bash.inc:没有这样的文件或目录 -bash:/Users/myuser/google-cloud-sdk/completion.bash.inc:没有这样的文件或目录

I'm new on mac. I just remove gcloud folders. And now when I open my command line window I always see next: -bash: /Users/myuser/gcloud/google-cloud-sdk/completion.bash.inc: No such file or directory -bash: /Users/myuser/google-cloud-sdk/path.bash.inc: No such file or directory -bash: /Users/myuser/google-cloud-sdk/completion.bash.inc: No such file or directory

我知道用gcloud命令删除时出错.但是,我们已经拥有了.因此,主要问题是在Mac上打开命令行窗口时如何不获取当前日志?

I know that made mistake removing not with gcloud command. But we have whad we have. So the main question is how to not get current logs when opening command line window on mac?

推荐答案

在安装时,Cloud SDK仅对文件系统进行以下更改:

The Cloud SDK makes only the following changes to the filesystem on installation:

  1. 添加并填充用于引导安装程序的Cloud SDK根目录.
  2. 配置进入~/.config/gcloud目录(默认情况下).
  3. 修改您在安装时指定的RC文件(以回答问题Modify profile to update your $PATH and enable shell command completion? (Y/n)?Enter a path to an rc file to update, or leave blank to use [/Users/$USER/.bash_profile]:.
  1. Adds and populates the Cloud SDK root directory, where you directed the installer.
  2. Configuration goes in the ~/.config/gcloud directory (by default).
  3. Modifies the RC files that you specified on installation (in response to the questions Modify profile to update your $PATH and enable shell command completion? (Y/n)? and Enter a path to an rc file to update, or leave blank to use [/Users/$USER/.bash_profile]:.

在不同平台上,这些路径略有不同,但是三种文件类型(安装文件,每用户配置和.rc文件)相同.

These paths are slightly different on different platforms, but the three types of files (installation files, per-user config, and .rc files) are the same.

这篇关于如何完全删除gcloud?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆