Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Node.js, server side javascript sitting on top of Google's v8 engine, is not available for install from the Debian squeeze's default repositories and doesn't easily compile for ARM. Are there any raspberry pi specific projects to get node up and running? Is there an easy way to build from source or install from binary if my package manager doesn't include node or if I want the latest version?

share|improve this question
Sorry, but it works great on my Arch Linux Pi. Installed from repository. – Jivings Jul 14 '12 at 21:51
Yeah the pacman install is great for Arch linux, but not for Debian/others. This is good for custom builds or if you aren't on Arch. – wmarbut Jul 14 '12 at 22:05
Check out the package build for Arch, perhaps you can copy that build proceedure? – Jivings Jul 14 '12 at 22:07
It's a good suggestion, but if you look at my answer, someone's already done the legwork. – wmarbut Jul 14 '12 at 22:16
up vote 2 down vote accepted

Those patches are not necessary anymore since Node.js v0.8.10.

  1. Either compile it yourself (takes about 2 hours): http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34&t=18775

  2. Download the binary (at the moment only available for v0.8.17). http://nodejs.org/dist/v0.8.17/node-v0.8.17-linux-arm-pi.tar.gz

share|improve this answer

Github user Geoff Flarity has created a raspberry pi specific patch that allows node.js to be compiled for the raspberry pi.

On top of this he includes pre-built binaries for the latest version of node and clear instructions.

You can find this all here https://github.com/gflarity/node_pi

share|improve this answer

Under the Debian Squeeze distribution node.js 0.8.2 compiles quite happily with a few tweaks


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.