Articles → Node.js → Create your first node.js program

Create your first node.js program

What is Node.js?

Steps of creating your first program

Create a script file and add JavaScript code in it.

console.log("Hello, World!")

Open Node.js command prompt

Click to Enlarge

Run the program using ‘Node’ command

Node c:\temp\Main.js

Click to Enlarge

Posted By  -  Karan Gupta
Posted On  -  Tuesday, December 5, 2017


Your Email Id  
Query/FeedbackCharacters remaining 250