首页 > 代码库 > ubuntu下安装nodejs

ubuntu下安装nodejs

sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs

参考:http://www.andreagrandi.it/2013/02/08/how-to-install-latest-stable-node-js-on-ubuntu/

ubuntu下安装nodejs