Assumes a fresh install of Ubuntu 12.04 LTS.
-
Setup the system to handle compiling and installing from source.
$ sudo apt-get install git-core curl build-essential openssl libssl-dev -
Change into the directory containing the install script and source it.
$ . node-and-npm-in-30s.shN.B. This step takes a while.
-
Finally, check that the latest version of node and npm are indeed installed.
$ node -v $ npm -v
References: