Installing Node.js via package manager · joyent/node Wiki

Installing Node.js via package manager · joyent/node Wiki

Ubuntu

Example install:

sudo apt-get install python-software-properties
sudo add-apt-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

你可能感兴趣的:(node.js)