Installing node.js on a Raspberry Pi
It’s easy to install node.js on a Raspberry Pi and makes for a great lightweight webserver to serve as an interface for web projects.
Before installing node you’ll need to install build-essential (and git-core if you are going to use git for version control).
I went with v0.11.0 of node, but you can check out the versions available here. Building from source took a couple of hours, but the install step was relatively quick.
When node is finally installed, you can create a simple app to check everything is working correctly.
Firing up your browser and hitting http://127.0.0.1:8124/ should give you a page with the message “It works!” Or you can quickly verify with curl: