How to install Acquai CLI on windows machine

191 views Asked by At

I have tried to install Acquia CLI on windows 10, 64 bit version machine but when try to run command acli auth:login throwing below error.

Can anybody help me to solve this issue?

Warning: mkdir(): Invalid argument in phar://D:/acquia_cloude_ide/acli.phar/vendor/webmozart/json/src/JsonEncoder.php on line 234

In JsonFileStore.php line 325:
  Could not write \/.acquia/cloud_api.conf: failed to open stream: No such fi
  le or directory (2)

In JsonEncoder.php line 283:
  Could not write \/.acquia/cloud_api.conf: failed to open stream: No such fi
  le or directory (2)
1

There are 1 answers

0
Sam Foster On

Folks

I found the problem - it was that the PC I am using did not have HOME environment variable set - at the moment I've set both SYSTEM and USER environment variables pointing to my home directory (which is in c:\users\ ) but I'll do some further testing to narrow it down. Suspect setting system environment variable HOME does it for all users, so probably don't need the user env variable.