Skip to content

Instantly share code, notes, and snippets.

@projectweekend
Last active January 2, 2016 04:49
Show Gist options
  • Save projectweekend/8252677 to your computer and use it in GitHub Desktop.
Save projectweekend/8252677 to your computer and use it in GitHub Desktop.
Steps/commands for installing Node on the Raspberry Pi
# Get the Node ARM package
wget http://nodejs.org/dist/v0.10.9/node-v0.10.9-linux-arm-pi.tar.gz
# Extract it
tar xvzf node-v0.10.9-linux-arm-pi.tar.gz
# Copy files to a permanent spot
sudo cp -r node-v0.10.9-linux-arm-pi/* /opt/node
# Add it to your PATH
sudo nano /etc/profile
# Add this just before the `export PATH` line:
PATH="$PATH:/opt/node/bin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment