TIL that hash-bang or shebang or #! that I regularly saw the begging of every bash script is more than just some system notation.

So create file hello.js with the following content:

#!/usr/bin/env node 

console.log("Hello world!");

Then make it executable:

chmod +x hello.js	

And run:

$ ./hello.js 
Hello world!

Yeah, I just discovered something already well-known and it feels stupid and awesome.
https://en.wikipedia.org/wiki/Shebang_(Unix)