Sunday, May 20, 2012

Starting With Node on Windows

Hello World is good way to go with any new language/framework in programming world. Today we will start with Node.js which takes javascript to server side.

  1.      1. Download Node from here
  2.      2. Add a new environment variable NODE_HOME and also add this variable in windows PATH
Thats all! Now you are ready to rock and roll.

Hello World - Console

console.log("Hello World"); Save this line as Hello-colsole.js

Run it from windows command line
>node Hello-cosole.js
Hello World          

1 comment:

  1. Success is a choice not a dream. So, work hard for it and always be open-minded. Visit my site for more information. Have a good day and keep on moving forward for that success.