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.
- Open Node.js command prompt.
- Run the program using ‘Node’ command.
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
Click to Enlarge