Created
March 20, 2017 01:22
-
-
Save psiie/dc2696a62a1a372885868cb18aea8b98 to your computer and use it in GitHub Desktop.
Install NodeJS on Raspberry Pi
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
| #! /bin/bash | |
| #Created by Reno McKenzie (darkenvy) | |
| wget https://nodejs.org/dist/v6.9.5/node-v6.9.5-linux-armv6l.tar.xz | |
| tar xf node-v6.9.5-linux-armv6l.tar.xz | |
| cd node-v6.9.5-linux-armv6l | |
| sudo cp -R * /usr/local/ | |
| ln -s /usr/local/bin/node /usr/sbin/node | |
| ln -s /usr/local/bin/npm /usr/sbin/npm | |
| cd .. | |
| rm -r node-v6.9.5-linux-armv6l | |
| rm node-v6.9.5-linux-armv6l.tar.xz | |
| node -v && npm -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment