Node.js is open source, cross-platform, and since its introduction in 2009, it got hugely popular and now plays a significant role in the web development scene.
Follow below steps to install nodejs, Some of belos steps requires Admin access
npm install npm --globalif necessary
Let's follow the basics program of programming and start by creating a program which will print hello mars on the console as output.
This code-snippet is as simple as it can be, Place below code in a file called hello-mars.js
//file-name : hello-mars.js console.log('hello world');
You can run the above file using the following command on Command prompt/Terminal:
Output of the above command:
Myself KarthiQ, I am the author of this blog, I know ways to write a good article but some how I donot have the skills to make it to reach people, would you like help me to reach more people By sharing this Article in the social media.