Wow ! Thank you so much. I’ve been struggling to get Particle CLI working on my Raspberry Pi B+, for quite some time now. Following these instructions to the letter got it working.
One mistake that I kept doing was to do:
sudo npm install -g serialport@150
and then run:
sudo npm install -g particle-cli
and NOT
sudo npm install -g serialport@1.5.0 particle-cli
Doing this made it fail with a bunch of errors relating to serialport@174 on my Pi.
For anyone else out there…make sure you run the commands as posted initially and everything will be fine.
Thank you again !