Quickly and simply install Node.JS on Raspberry Pi 2 Raspbian

Update the system
sudo apt-get update
sudo apt-get upgrade

Download the source
curl -sL https://deb.nodesource.com/setup | sudo bash –

Install it
sudo apt-get install nodejs

Check version number
nodejs -v
v0.10.40

Run it

nodejs

>console.log(‘hello mojo!’);

hello mojo

 

(Visited 557 times, 1 visits today)