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
sudo apt-get install -y build-essential g++ curl libssl-dev apache2-utils git libxml2-dev
You definetly should compile node instead of downloading the binary version. To do this with nvm use the -s argument.
git clone git://github.com/creationix/nvm.git ~/nvm
echo ‘. ~/nvm/nvm.sh’ >> ~/.bashrc && . ~/.bashrc
nvm install -s v0.8
nvm use 0.8
- Install sourcemint
sudo npm install -g sm
- Install Cloud 9
git clone https://github.com/ajaxorg/cloud9.git cloud9
sudo sm install
echo “alias cloud9=’~/cloud9/bin/cloud9.sh'” >> ~/.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.