ubuntu 安装 node.js
访问量: 2172
这个文章在官网上不太好找。。。。很不起眼的地方。。。。。
https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
Ubuntu
Example install:
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs npm
It installs current stable Node on the current stable ubuntu.
If you want to compile Node C++ modules:
sudo apt-get install nodejs-dev
Or configure shell script for install node.js using http://apptob.org
https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
Ubuntu
Example install:
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs npm
It installs current stable Node on the current stable ubuntu.
If you want to compile Node C++ modules:
sudo apt-get install nodejs-dev
Or configure shell script for install node.js using http://apptob.org