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.
Run it from windows command line
Setup
- 1. Download Node from here
- 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
Comments
Post a Comment