It took me several hours to find out a good installation process for cloud9 (node js based IDE). Here are the instructions (taken from here, and slightly modified). Thanks to Sam!

My configuration is:

Ubuntu 12.10, kernel 3.5.0-27-generic 64 bits

Installation instructions:

  • Prerequisites

sudo apt-get install -y build-essential g++ curl libssl-dev apache2-utils git libxml2-dev

  • Nvm

You definetly should compile node instead of downloading the binary version. To do this with nvm use the -s argument.

git clone git:// ~/nvm
echo ‘. ~/nvm/’ >> ~/.bashrc && . ~/.bashrc
nvm install -s v0.8
nvm use 0.8

  • Install sourcemint

sudo npm install -g sm

  • Install Cloud 9

cd ~/
git clone cloud9
cd cloud9
sudo sm install

echo “alias cloud9=’~/cloud9/bin/'” >> ~/.bashrc && . ~/.bashrc

The previous command will create an alias when you open your session. Now you can start using cloud9 with the following command:

nvm use 0.8 && cloud9 -w <path to your project files>


Be careful when loading a project using a symlink. The debugger won’t work!

I had a project in /home/me/Dev/nodeProject which was a symlink to /mnt/myDrive/js/nodeProject and using the command cloud9 -w /home/me/Dev/nodeProject I wasn’t able to use the debugging features of cloud9.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s