1

When I try to install gcutil by following steps on https://developers.google.com/compute/docs/gcutil/

here is the bin dir contents of C:\gcutil\google-cloud-sdk\bin :

enter image description here

but gcutil does not seem to install correctly. When I attempt to run gcutil I receive the error :

C:\gcutil\google-cloud-sdk\bin>gcutil
'gcutil' is not recognized as an internal or external command,
operable program or batch file.

Should gcutil not be a .bat file command ? How can I invoke gcutil ?

Dan Holevoet
  • 9,183
  • 1
  • 33
  • 49
blue-sky
  • 51,962
  • 152
  • 427
  • 752

3 Answers3

2

You do not need to install cygwin unless you need the ssh functionality of gcutil.

The reason you could not initially run gcutil is because it was a python script (and you were not prefixing the command with 'python'). We have since changed this to be a .cmd script, so it should work more natively in windows. If you add the bin directory to your PATH, you should be able to run gcutil from anywhere.

Mark
  • 2,265
  • 15
  • 13
1

Or you can use environment variables.

About variables

Carlos Rojas
  • 5,547
  • 2
  • 14
  • 13
0

Installing cygwin to run gcutil if you are working with windows.

https://developers.google.com/compute/docs/gcutil/ (check the windows tab)

I just do it and work fine.

Robit
  • 1
  • 3