Set Up Google Cloud SDK on Windows using Cygwin
By Güngör Budak
- One minute read - 186 wordsWindows 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
- Python latest 2.7.x
- Google Cloud SDK
- Cygwin 32-bit (i.e. setup-x86.exe - note only this one works)
- openssh, curl and latest 2.7.x python Cygwin packages
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/install.sh
- 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.