Run

Run a JavaScript app in node:

node nameOfFile.js

This method executes the JavaScript file by an intepreter.

CTRL + C stops a running JavaScript file in Node.js.