Getting started with Node.js.

The Node.js platform is built on the Google Chrome JavaScript runtime for easily building
fast, scalable network applications. The platform implements an event-driven, non-blocking
I/O model and is lightweight and efficient. This platform is perfect for data-intensive, real-
time applications that run across distributed devices.
Using Node.js, you can write JavaScript that executes on the back-end server. Node.js
interprets and executes your JavaScript by using Google’s V8 virtual machine, which is the
same runtime environment for JavaScript that Google Chrome uses.

Installing Node.js
To install Node.js on your computer, download the version for your machine from http://
nodejs.org/download/ and run the installer. For typical Windows-based, 64-bit computers at the time of this writing, this is the node-v0.8.14-x64.msi file. The installation requires accepting the licensing agreements. By default, the Node.js files install to the C:\Program
Files\nodejs\ folder. You’ll find the node.exe file in the installation folder, which is the primary
executable for Node.js. You will also find a folder for node modules; this folder contains npm,
the node package manager. You use npm to install modules in Node.js.
The Node.js installer adds the Node.js and npm folder locations to the path environment setting so you can open the command prompt window easily and run the program.

Creating Hello World from Node.js
After the installation completes, you can create your first Node.js website by opening the
command prompt and using your favorite text editor. Create a file called HelloWorld.js containing the following.