Node.js is a server-side javascript environment.
You'll need to have git and build-essential packages.
$ mkdir -p $HOME/opt
$ git clone https://github.com/joyent/node.git && cd node
$ ./configure --prefix=$HOME/opt
$ make
$ make install
Add $HOME/opt/bin to your path. Add to $HOME/.bashrc
if [ -d ~/opt/bin ]; then
PATH=$HOME/opt/bin:"${PATH}"
fi
Reload it:
$ source $HOME/.bashrc
See what version you've got:
$ node -v
At the time of this writting, I got v0.5.0-pre.
Node package manager, aka npm, is the way we have to install packages and dependencies.
You'll need to have curl client installed.