console.log("hello world");

Write as index.js Then run node index.js OR node . (this parses the current directory for index.js)