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 05, 2017

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250