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
Download Visual Studio Tools - Install Free for Windows, Mac, Linux
-
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!) : Tutorial: Installing DFU-Driver on Windows [24 Feb 2015] - Tutorials - Particle
Try the commands:
particle login
particle list
Other commands can be found at: [spark-cli/README.md at master · particle-iot/spark-cli · GitHub]
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: ITPro Today: IT News, How-Tos, Trends, Case Studies, Career Tips, More
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:
Troubleshoot: Particle-CLI on windows [Q&A] - Tutorials - Particle