Install Node on the Raspberry Pi in 5 minutes
Update the OS
sudo apt-get update sudo apt-get upgradeVerify node isn't installed yet. It should print 'command not found'.
node —versionSet up the apt-get repo source
curl -sL https://deb.nodesource.com/setup | sudo bash -Install Node itself
sudo apt-get install nodejsI then had to log out and log back in to get the path right.
node —version // should print version 0.10.38 or similarnpm —version should print 1.4.28 or similarsudo node —version should work as wellThat's it!
Talk to me about it on Twitter
Posted October 23rd, 2013
Tagged: node raspberrypi