Can't install particle CLI in windows

I had the same issue on a Windows 10 pc and found a way to fix it without having to install additional software (well you’ll have to install and uninstall something).

  1. Install Node.js

  2. Download the Windows Particle CLI Installer

  3. Run the CLI Installer (preferably as administrator)

  4. Uninstall Node.js

  5. Run the CLI Installer again

  6. Test particle setup in the command prompt, it should be working.

Not sure why it is working, but it definitely solved my issue and now I can happily configure my Photon board. I hope it helps someone with the same issue.

I solved this problem by manually adding the path where particle.exe is located to the environment variable path. My path is C:\Users\Frank\AppData\Local\particle\bin

1 Like