I have a script I'd like to run... maybe something like this:
#!/usr/bin/env deno
console.log('hello world');
The shebang part is confusing. When I do it as above, with the filename dev, I get:
error: Found argument './dev' which wasn't expected, or isn't valid in this context
When I try to change the shebang to #!/usr/bin/env deno run
I get
/usr/bin/env: ‘deno run’: No such file or directory
Any thoughts on how to pull this off?