Last active
January 2, 2016 04:49
-
-
Save projectweekend/8252677 to your computer and use it in GitHub Desktop.
Steps/commands for installing Node on the Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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