NodeJS is a server-side platform that developed on Google Chrome's V8 JavaScript engine. It can be used for easily building a fast, reliable and scalable web application. It uses an event-driven and non-blocking I/O model which makes is light-weight and efficient. It's official documentation state that it's perfect for the data-intensive real-time application that runs across distributed devices. Besides, NodeJS is an open source and cross-platform run-time environment for developing server-side application or websites.

What is 'NPM'?

As its name would imply, NPM standard for 'NodeJS Package Manager'. NPM makes it easy for NodeJS developer to share and reuse source code as a module that they have created to solve particular problems. But, NPM is still very young. So It's better used the very recent version of NodeJS in order to use it.

Which version?

There's various way to install NodeJS and NPM. I supposed You'd better download directly its stable, stand-alone binary package from the official Node.js website relevant to your working platform.

At the time of writing this tutorial, there is two active LTS (Long Term Support) release on Node.js release schedule (2016.10.25).

  1. V4.6.1 LTS
  2. V6.9.1 LTS

I recommended for you to install LTS v4.x. Because It's the most stable version at the moment and its LTS is continued until April 2018. you can see the good explanation about the Node.js release and release schema on StackOverflow using this Link