Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Binaries and patches for Node.JS on the Raspberry Pi
tree: f961d1c196

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


So it looks like Node.js 0.6.19 can be installed using 'apt-get install nodejs' on the official image. This is great news, I'm looking into the status of v0.8.x. If they're going to stay up to date this page may just become a pointer to other instructions


If you're looking to run the latest Node.JS on the Raspberry Pi, you've come to the right place.

More improvements to come, follow @gflarity for updates.


Download a binary available in the Downloads section, then:

tar xzf node-v0.8.2.tar.gz
sudo cp -R ./node-v0.8.2/* /


Building is a bit trickier, follow along.

First install some dependencies:

sudo apt-get install git-core build-essential

Grab the NodePi and Node.JS source and checkout the version you want:

git clone
git clone
cd node
git checkout origin/v0.8.2-release -b v0.8.2-release

Now apply the patch appropriate for your version of Node.js:

git apply --stat ../node_pi/v0.8.2-release-raspberrypi.patch

Then set the following exports for use during compilation:

export GYP_DEFINES="armv7=0"
export CCFLAGS='-march=armv6'
export CXXFLAGS='-march=armv6'`

Run configure:


Now make and make install with the environment variables exported above. If you don't include these it'll try to re-compile everything. As if that weren't bad enough, it'll also probably not compile as there's a reason we included them in the first place!

sudo GYP_DEFINES="armv7=0" CCFLAGS='-march=armv6' CXXFLAGS='-march=armv6' make install


Something went wrong with that request. Please try again.