0

When I try to install gcutil using this guide : https://developers.google.com/compute/docs/gcutil/

I receive this error (using install.bat) :

(gcloud.components.update) Your current working directory is inside the Cloud SD
K install root: C:\gcutil\google-cloud-sdk.  In order to perform this update, ru
n the command from outside of this directory.

What is the cause of this ? What is the working directory being referred to ?

Kara
  • 6,115
  • 16
  • 50
  • 57
blue-sky
  • 51,962
  • 152
  • 427
  • 752

1 Answers1

1

It's referring to the directory your shell is currently in. Running:

cd C:\gcutil

should get you in the right place to run the batch file.

Brian Dorsey
  • 4,588
  • 24
  • 27
  • do you mean copy the installation files to a new dir "C:\gcutil" and run from there ? Should "C:\gcutil" already exist ? – blue-sky Dec 10 '13 at 21:10
  • Are you running install.bat from the command line, or by double-clicking on it? – Brian Dorsey Dec 10 '13 at 22:22
  • When running from the command line, make sure you're in the parent directory of the sdk. For example, if your current directory is: C:\gcutil\google-cloud-sdk (as the error message indicates). Run: cd .. Then run: google-cloud-sdk\install.bat – Brian Dorsey Dec 11 '13 at 05:55