It should be noted that shebangs will not work on Windows, so for documentation it is still a good idea to use node index.js.
I can't use the OS I really want to at work, so I end up running Hyper Terminal with Git's bash.exe as my shell..
There are many other advantages of this route (like autocomplete on environment variable names), but in this particular case it means you can technically use shebangs "in Windows". (:
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.