Each script should have instructions + the command on how to run it. But in general you'll need to install kotlin like so:
# install kotlin
brew install kotlin
# run the script
kotlin 0.hello.main.kts Hello 🌎
Alternatively, if you want to make the script executable
chmod +x 0.hello.main.kts
# you can now run the script like so:
./0.hello.main.kts Hello 🌎
Note: The first time you run the script it'll look like it's taking forever, thereafter the script runs super fast.