Instructions to install PARTICLE-CLI on Windows
*please install to the default directory as they are hardcoded to read them and changing the PATHS require more work and complicate matters for the 1st time
*All installations must be the same system architecture too (32 or 64)
**If you find too much hassle to attempt to get started… I have the files at:
Node.js (32bit):
https://dl.dropboxusercontent.com/u/36134145/Spark-cli/node-v0.10.29-x86.msi
OpenSSL(32bit):
https://dl.dropboxusercontent.com/u/36134145/Spark-cli/Win32OpenSSL-1_0_1h.exe
Visual Studio Express 2013 for Windows Desktop:
https://dl.dropboxusercontent.com/u/36134145/Spark-cli/vs_community.exe
Python 2.7.6:
32bit: https://dl.dropboxusercontent.com/u/36134145/Spark-cli/python-2.7.6.msi
64bit: https://dl.dropboxusercontent.com/u/36134145/Spark-cli/python-2.7.6.amd64.msi
-
Download Nodejs V0.10.x
-
OpenSSL
32bit: http://slproweb.com/download/Win32OpenSSL-1_0_1i.exe -
Visual Studio Express 2013 for Windows Desktop
https://www.visualstudio.com/downloads/download-visual-studio-vs#d-2013-express
-
Python 2.x [3.0 DOES NOT work]
-
In your Programs, Look for command prompt
-
Run
npm install -g particle-cli
-
You will need the DFU-UTIL to flash a binary firmware and the tutorial to install is here (can skip if you just got started!) : https://community.spark.io/t/tutorial-installing-dfu-driver-on-windows/3518
Try the commands:
particle login
particle list
Other commands can be found at: [http://github.com/spark/spark-cli/blob/master/README.md]
Enable Copy & Paste in Command Prompt
- Right-click on the command prompt top bar and click on ‘properties’
- ‘Check’ the QuickEdit Mode and hit ok
Now you can double click on a text (coreid) and right click to paste
Adding OpenSSL to Windows path
Follow the instructions here: http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path
This will allow OpenSSL to be executed globally in command prompt.
Upgrade Particle-CLI
To upgrade Particle-CLI, enter the following command:
npm update -g particle-cli
Updated on: 07 June 2015
If you are encountering any issues, please post them at:
https://community.spark.io/t/troubleshoot-spark-cli-on-windows-q-a/5352