Tutorial: Particle-cli on Windows [07 Jun 2015]

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


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

  1. Right-click on the command prompt top bar and click on ‘properties’
  2. ‘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

12 Likes
Installing Particle CLI in Windows 10
Troubleshoot: Particle-CLI on windows [Q&A]
[Particle Official] Windows 10 Full CLI and DFU Setup
Problems from the outset
Clarification on CLI on Windows prerequisites
Concise up to date CLI setup instructions for windows
Photon setup flashing cyan with a "quick red burst" (now orange burst) [Solved]
[SOLVED] Unknown issue with Photon EDIT: Photon cannot connect to cloud
Serial port times out after setup
Will not complete setup via app [SOLVED]
Photon setup flashing cyan with a "quick red burst" (now orange burst) [Solved]
Connecting to a web page via http
No cores found!
Breathing Cyan but device doesn't show up/react [SOLVED]
Error when installing CLI (node.js) - [SOLVED + complete guide on how to install Particle CLI correctly!]
Spark Core Solid Purple
Spark Core worked well but now is solid magenta
Spark-server installation error
I can't get Spark CLI to work on my Windows 8 Machine
How to use serial.print
Spark-cli on Windows8.1 x64
Survey: Spark-CLI user
How can I build apps locally like I do on the WEB IDE?
Spark Gets Local IP, Won't Connect
[Howto] Setup photon if docs step fail
[Webhooks] Super Simple Motion Activated Push Notifications
Photon DAC pin output not working - stuck at 3.26V
Core blinking white and not booting up
Cannot install particle-cli on command prompt
DFU-UTIL Issues
Fixing a bad key (fast light blue pulses with intermittent fast red)
Device Transfer Requested, Receive Email if transfer is approved or denied? Verifying Product Ownership issues?
Failing in Particle Setup running in Win 10 over USB
Solid Magenta after a reboot
Photon flashing cyan with red bursts [SOLVED]
Error: openssl can not recognize as internal and external command
Particle P1 breathes white... AGAIN!
Trying again to fix the whole Particle experience
[Solved]-Resetting previous claimed device using Windows machine