Skip to content

Instantly share code, notes, and snippets.

@simoncos
Last active July 19, 2018 23:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simoncos/db646692328c802184e76b0f86beec5a to your computer and use it in GitHub Desktop.
Save simoncos/db646692328c802184e76b0f86beec5a to your computer and use it in GitHub Desktop.
Install Nodejs 6.x on Raspberry Pi Raw

Remove old version nodejs and npm:

sudo apt-get remove nodered -y
sudo apt-get remove nodejs nodejs-legacy -y
sudo apt-get remove npm -y
sudo apt-get autoremove

Install nodejs 6.x:

sudo curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
sudo apt-get install -y nodejs

Test:

node -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment