user2972081
user2972081

Reputation: 671

Can I remove google-cloud-cli from GCP instances?

After using GCP from 1 year, I noticed that I do everything from the GCP Console UI since my use-case is very basic: just GCE VM instances, autoscaling (MIG) with load balancers and managed SQL databases.

Can I remove "google-cloud-cli" package on the Ubuntu VMs without creating issues?

I will of course keep GCE system services installed.

Upvotes: 0

Views: 68

Answers (1)

miracle
miracle

Reputation: 385

To completely uninstall the Google Cloud CLI you need to locate your installation directory and user config directory :

gcloud info --format='value(installation.sdk_root)' 
gcloud info --format='value(config.paths.global_config_dir)' 

After you identify the location you can delete those both directories.

You can follow this instruction guide to uninstall your Google Cloud CLI.

Upvotes: 1

Related Questions