say hello – node js

What say, about nodejs?

Node.js is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

By above text we can easily say that nodejs is really good platform if we are thinking about the real-time distributed application.

How to setup?

Very easy, download to the recent release are listed in

you can notice, it is available for all of the OS platform. Use your own and install.

Check if installation is fine?

node -v

in most of the case node come with npm.

npm -v

If you got the version no of node and npm, all are fine. Lets move to the programming world.


Follow the steps

  • Ceate a file in your own location. File name should be say-hello with js as extension. (say-hello.js)
  • Open file in your own editor. I love sublime you can download here. you can also use notepad(windows) or gedit (linux)
  • Put following code in file and

console.log(‘hello, you are running nodejs application’);

  • Go to the command line and point to the path where you have placed file.
  • Run the command node say-hello.js


hello, you are running nodejs application

Isn’t it easier then you think? Give it a try.

Leave a Reply

Your email address will not be published. Required fields are marked *