Installing Latest Version of Node.js on a Raspberry Pi

by tresmos
GNU/Linux ◆ xterm ◆ bash 2003 views

for Node.js 8: curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs

for Node.js 10: curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs