Hello World with sh
Unix-specific issue:
#!/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
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Unix-specific issue:
#!/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