Hello World with sh


Unix-specific issue:


examples/basic/hello_world_sh.js
#!/usr/bin/env node

console.log("Hello World");

Make the file executable:


chmod +x examples/basic/hello_world_sh.js

Run it directly


./examples/basic/hello_world_sh.js