What nodejs.org say, about nodejs?
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?
in most of the case node come with npm.
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.