Created
March 23, 2015 20:22
-
-
Save X4/4fc123519fcfe7f93ce5 to your computer and use it in GitHub Desktop.
Setup NodeJS on Raspberry Pi 2 in < 5 Minutes
This file contains hidden or 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
Prerequisites: | |
============== | |
1. Raspbian | |
2. Raspberry Pi (2) | |
sudo apt-get update | |
sudo apt-get upgrade | |
cd | |
## Source: http://node-arm.herokuapp.com/ | |
wget http://node-arm.herokuapp.com/node_latest_armhf.deb | |
sudo dpkg -i node_latest_armhf.deb | |
## Source | |
git clone [email protected]:quick2wire/quick2wire-gpio-admin.git ~/gpi-admin && | |
cd ~/gpio-admin | |
make -j2 | |
sudo make install | |
sudo adduser pi gpio | |
sudo npm install -g node-gyp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now I prefer:
sudo npm install -g n
https://github.com/tj/n