Can't install Particle CLI - git error

Followed the [Particle Official] Windows 10 Full CLI and DFU Setup. Node.js and NPM installed OK. But when I try to install Particle CLI (npm install -g particle-cli) it goes all wrong. It starts complaining about git ans ends with:

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "particle-cli"
npm ERR! node v4.4.5
npm ERR! npm v2.15.5
npm ERR! code ENOGIT

npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Rolf\npm-debug.log

Don't know what to do.

Also, the description: right click the file build-mingw32-libusb and click OPEN. It should run via the command prompt and then close automatically, doesn't work as described. I just get a pop-up askinf what app to use.

Running Windows 10 Pro.

I’m releasing a new version that will fix this issue by not using git anymore. It will be up very shortly.

@ragazzi, Julien has released the new version already.
Can you have another try
nom update -g particle-cli

A late, but grateful thank you :smile:

2 Likes

Thank you for the quick response - much appreciated.

1 Like