I have installed node.js from here http://nodejs.org/ . in my windows8 machine. copied the example server code in my server.js file
var http = require(\'ht
Just go on that directory of your JS file from cmd and write node jsFile.js or even node jsFile; both will work fine.
cmd
node jsFile.js
node jsFile