Created
December 2, 2017 01:02
-
-
Save smoriarty21/fd501cd6e647666fcf988ee822440ec2 to your computer and use it in GitHub Desktop.
Raspberry Pi Upgrade Node & NPM
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
cd | |
sudo apt-get remove -y nodejs | |
wget https://nodejs.org/dist/v8.9.1/node-v8.9.1-linux-armv7l.tar.xz | |
tar xvf node-v8.9.1-linux-armv7l.tar.xz | |
cd node-v8.9.1-linux-armv7l/ | |
sudo ln -s /home/pi/node-v8.9.1-linux-armv7l/bin/node /usr/bin/ | |
sudo ln -s /home/pi/node-v8.9.1-linux-armv7l/bin/npm /usr/bin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment