Nijin Narayanan
Nijin Narayanan

Reputation: 2279

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.

Upvotes: 7

Views: 12694

Answers (3)

Pratap Singh
Pratap Singh

Reputation: 419

To get Cloud SDK Uninstalled manually on WINDOWS(7 for me) :

Delete following two folders from your windows machine:

  1. Cloud SDK Installation folder * mostly found at standard installation folder- C:\Program Files (x86)\Google * or custom location if you chose one during installation

  2. Cloud SDK configuration folder in case you configured it after installation * Default location is user-level AppData\Roaming\gcloud * C:\Users{USERNAME}\AppData\Roaming\gcloud

Apart from this, I found entry of (Google) Cloud SDK in CONTROL PANEL-->Uninstall Programs too. Use this option to uninstall as well. It may throw alert if already deleted.

Last but not least: Check your system environment variable "PATH". Remove any path that points to Cloud SDK locations.

Hope this would help windows user :)

Upvotes: 1

Gabriel Kohen
Gabriel Kohen

Reputation: 4286

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

Upvotes: 8

shawmanz32na
shawmanz32na

Reputation: 1268

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.

Upvotes: 5

Related Questions