Install Node on the Raspberry Pi in 5 minutes

Update the OS

sudo apt-get update sudo apt-get upgrade

Verify node isn't installed yet. It should print 'command not found'.

node —version

Set up the apt-get repo source

curl -sL https://deb.nodesource.com/setup | sudo bash -

Install Node itself

sudo apt-get install nodejs

I then had to log out and log back in to get the path right.

node —version // should print version 0.10.38 or similar
npm —version should print 1.4.28 or similar
sudo node —version should work as well

That's it!

Talk to me about it on Twitter

Posted October 23rd, 2013

Tagged: node raspberrypi