Since ES2023 a script or module may start with #!, which comments out the first line so Unix shells can pick the interpreter. It must be the file's very first characters. npm 2,036 requires it in bin scripts.
#!/usr/bin/env node
console.log(`Hello, ${process.argv[2] ?? 'world'}!`);Output
Hello, Ada!