In order to use Shebang you need to create a file starting with #!/usr/bin/env the run
.
For example:
#!/usr/bin/env the run
main {
print("Hello, World!")
}
Make this file executable with:
chmod +x file
And then just run this file like this:
./file