running node js on raspberry pi

C++
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -node index.jsnode --version
Source

Also in C++: