Using the Cloud9 IDE for Particle Development

Good point. More like different ways to do the same thing. I try to simplify everything. The previous method sets up a working Nodejs chat program that you then have to delete, make a directory, make files. etc, but Cloud9 is actually a bit confusing for beginners to just make files as the directory structure is not very easy to spot where to put your files.

In the following image the files look like they are in the "node_modules" folder but they are actually in the "great-name" folder

My way just takes everything from the github repository and pre-sets up the entire directory structure.

npm install

Is a very normal command that many people using Nodejs will be familiar with. It activates a script in the package.json file. Here it simply runs

npm install -g particle-cli

Using cloud9 and "npm install" you can get hundreds of Nodejs programs installed automatically from github sites and operating in the few minutes to download all the supporting files. Compared to what I used to do where I would spend hours setting up a ubuntu server just to test out a new program, this method is amazing.


An example is a nodejs github site I made a while ago that lets you make Android and iOS live Apps that allow testing your phone accelerometer etc without paying the Apple $100/year developer fee by using the Adobe Phonegap Developer App.
My site is at

using the same steps as above you are up and running with an entire nodejs Javascript tutorial in a few minutes.

1 Like