blue-sky
blue-sky

Reputation: 53806

Unable to run gcutil from command line

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 ?

Upvotes: 1

Views: 2632

Answers (3)

Mark
Mark

Reputation: 2355

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.

Upvotes: 2

Carlos Rojas
Carlos Rojas

Reputation: 5897

Or you can use environment variables.

About variables

Upvotes: 1

Robit
Robit

Reputation: 1

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.

Upvotes: 0

Related Questions