Installing node on Raspberry PI
Add apt.adafruit.com repository to PI’s sources
curl -sLS https://apt.adafruit.com/add | sudo bash ** **
Install latest node
sudo apt-get install node
More details here https://learn.adafruit.com/node-embedded-development/installing-node-dot-js