HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/396/help/man/man1/gcloud_beta_topic_uninstall.1
.TH "GCLOUD_BETA_TOPIC_UNINSTALL" 1



.SH "NAME"
.HP
gcloud beta topic uninstall \- supplementary help for uninstalling Google Cloud CLI



.SH "DESCRIPTION"


.SH "Uninstalling Google Cloud CLI"

Note: For installations completed using an OS package (such as \f5apt\-get\fR,
\f5yum\fR, etc.), uninstall Google Cloud CLI via the OS package manager.

Note: For Windows installations, execute the uninstaller.exe found under your
Google Cloud CLI directory.

To completely remove Google Cloud CLI, follow these instructions:

.RS 2m
.IP "\(bu" 2m
Locate your installation directory by running:
.RE
.sp

.RS 2m
$ gcloud info \-\-format="value(installation.sdk_root)"
.RE

.RS 2m
.IP "\(bu" 2m
Locate your user config directory (typically \f5~/.config/gcloud\fR on MacOS and
Linux) by running:
.RE
.sp

.RS 2m
$ gcloud info \-\-format="value(config.paths.global_config_dir)"
.RE

.RS 2m
.IP "\(bu" 2m
Delete both these directories.
.RE
.sp

.RS 2m
.IP "\(bu" 2m
Additionally, remove lines sourcing \f5completion.bash.inc\fR and
\f5paths.bash.inc\fR in your \f5.bashrc\fR or equivalent shell init file, if you
added them during installation.
.RE
.sp

.RS 2m
.IP "\(bu" 2m
Review the contents of the \f5.boto\fR file in your home directory and remove
the sections '[GoogleCompute]' and '[GSUtil]'. In addition, review the sections
\'[OAuth2]' and '[Credentials]' for settings that are no longer needed.
.RE
.sp

.RS 2m
.IP "\(bu" 2m
Some systems may have \f5Cache\fR directories such as \f5~/Library/Caches/\fR on
Mac OS X. Find and delete these directories for your system:
.RE
.sp

.RS 2m
$ find ~/Library/Caches/ \-type d \-name "google\-cloud\-sdk" | xargs \e
rm \-r
.RE



.SH "NOTES"

This command is currently in beta and might change without notice. These
variants are also available:

.RS 2m
$ gcloud topic uninstall
.RE

.RS 2m
$ gcloud alpha topic uninstall
.RE