Set Up Google Cloud SDK on Windows using Cygwin

Share Tweet

Windows isn’t the best environment for software development I believe but if you have to use it there are nice softwares to make it easy for you. Cygwin here will help us to use Google Cloud tools but installation requires certain things that you should be aware of beforehand.

You’ll need

Note: You’ll need to select these packages during Cygwin installation. If you already have Cygwin 32-bit, just rerun the installer and make sure you select them all and later install all dependencies when you’re asked.

To set up

  • Open up Cygwin Terminal by right clicking and choosing “Run as administrator
  • Navigate to the folder that has “google-cloud-sdk” (what’s in GCloud SDK download so move it somewhere like “C:")
  • Run ./google-cloud-sdk/
  • Follow instructions

Hopefully, you won’t have any error and will get it working.

Last note is to be able to run GCloud tools in Cygwin Terminal, you’ll always have to run it “Run as administrator”, or you’ll get “Permission denied” errors.

Share Tweet


Please start a discussion down below or send me an email!