Install Node.js and NPM
You will get the single installation package for Nodejs and NPM from the node website nodejs.org.
For testing the installation open command prompt
node -v
If it is showing node version then the NodeJs installation success
For testing npm installation use
npm -v
For a simple program
create a test.js file put some log and run this file from command prompt using node (node <filename.js>)
console.log('Welcome to Node programming');
node test.js