This comment has been minimized.

There's one small update that needs to be made though. As of version 0.10.0, Chris Lea's nodejs package contains everything that the nodejs-dev and npm packages used to. So, sudo apt-get install nodejs npm git should be sudo apt-get install nodejs git.