Skip to content

Instantly share code, notes, and snippets.

@smoriarty21
Created December 2, 2017 01:02
Show Gist options
  • Save smoriarty21/fd501cd6e647666fcf988ee822440ec2 to your computer and use it in GitHub Desktop.
Save smoriarty21/fd501cd6e647666fcf988ee822440ec2 to your computer and use it in GitHub Desktop.
Raspberry Pi Upgrade Node & NPM
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