Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I uninstall Google Cloud SDK in Windows

I have installed the Google Cloud SDK in Windows 7 as instructed in the Google Cloud SDK document. And its installed in C:\Program Files\Google\Cloud SDK.

But I haven't seen any option to completely uninstall this SDK in windows control panel.

like image 601
Nijin Narayanan Avatar asked Feb 26 '15 13:02

Nijin Narayanan


People also ask

How do I delete Cloud SDK?

A user whose Google Cloud SDK credentials have been compromised should visit accounts.google.com, navigate to Connected apps & sites, and remove the Google Cloud SDK from the list of connected apps.

How can I tell if G Cloud is installed?

The first thing to do after successful installation is open your command line and type “gcloud” to check whether Cloud SDK has installed perfectly. Run “gcloud init”, it opens up a new browser window and asks to login into your google cloud account.

How do I set up gcloud project?

Create a Google Cloud project If you haven't already created a Google Cloud project for your app, follow the steps below. Open the Google Cloud projects list. Click Create Project. Fill out the project information.


2 Answers

On the latest SDK, Under "C:\Program Files (x86)\Google\Cloud SDK" you should find an uninstaller (uninstaller.exe). Just execute it.

like image 76
Gabriel Kohen Avatar answered Sep 28 '22 02:09

Gabriel Kohen


I have also been struggling with this.

As far as I can tell, the Google App Engine SDK Windows installer installs a whole bunch of binaries into C:\Program Files\Google\Cloud SDK, installs Python 2 (2.7.6 as of this post's writing), creates a CLOUDSDK_PYTHON environment variable, and updates your PATH variable to reference the Python and Cloud SDK locations.

The Cloud SDK Core Command Line Tools (gcloud) can assist you with removing most of the binaries. It's been suggested elsewhere that these binaries can just be deleted, but I uninstalled them one-by-one, just to be safe. To do this (taken from L.H's post here), launch the Google Cloud SDK Shell from your Start menu, and run gcloud components list to see all the SDK components. Each can be removed by running gcloud components remove [COMPONENT_ID]. I removed all of the Individual Components before removing the Cloud SDK Core Command Line Tools Package.

Python includes an actual Windows uninstaller with its installation, you you can just remove it as normal via Add/Remove Programs.

Then, you can just Remove the Google Cloud SDK-related Environment Variables and the references in your PATH variable.

like image 42
shawmanz32na Avatar answered Sep 28 '22 01:09

shawmanz32na