In a lot of my Raspberry Pi projects I’m using Node.js as the development platform. Installing Node.js on a Rasberry Pi used to be a real pain in the ass. Luckily the open source community made it a bit simpeler.
Make sure your PI is up to date:
sudo apt-get update
sudo apt-get upgrade
Downloading the latest Pi compatible version of Node.js:
sudo wget http://node-arm.herokuapp.com/node_latest_armhf.deb
Install the package:
sudo dpkg -i node_latest_armhf.deb
And done we are! You can check the Node version by entering:
node -v
Enjoy!