Wednesday, May 16, 2012

Installing NodeJS on Windows


Run this : 

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('http://bit.ly/psChocInstall'))"
Then this : 

cinst NodeJs

Test : 

Type

console.log("Hello World");

and save it in a .js file(say xxx.js). Type node xxx.js in cmd. Should print "Hello World".

No comments:

Post a Comment