Several months ago I acquired my very first Raspberry PI.
One of the first things I wanted to try is how well node runs on it.
Node works like a charm and installing it on a Raspberry Pi is actually pretty easy and straightforward.
Download the binary archive and Extract it
First of all you must download the latest node binary archive that is compatible with
the Raspberry Pi's ARM-based architecture.
I wrote nodepi, a little express app which lists all of the
node versions that provide an official arm-pi binary archive.
Simply grab the version you want (remember that node uses the
version numbering system) and click the download button.
You can also curl the version you wish to download.
$ curl -L http://nodepi.herokuapp.com/v0.10.24 -o node.tar.gz
$ tar xvfz node.tar.gz
Note that nodepi simply redirects to the appropriate file location on https://nodejs.org/dist.
The main reason why I wrote nodepi was to not have to manually look through nodejs.org/dist for
a specific node version which has an available arm-pi binary.
Update your PATH
There are many great blog posts that will show you how to update your path so you can
execute node in your terminal