sudo apt-get install python-software-properties python g++ makesudo add-apt-repository ppa:chris-lea/node.jssudo apt-get updatesudo apt-get install nodejs
>node [enter]function foo(a,b){return a-b;}; foo(20,4);16
node /path_to_file.js