How to create node

The usual way to run a Node.js program is to run the globally available node command (once you install Node.js) and pass the name of the file you want to execute . While running the command, make sure you are in the same directory which contains the app.js file.

1 Like