sudo apt-get install python-software-properties python g++ makesudo add-apt-repository ppa:chris-lea/node.jssudo apt-get updatesudo apt-get install nodejs
参考:http://www.andreagrandi.it/2013/02/08/how-to-install-latest-stable-node-js-on-ubuntu/