Last active
November 30, 2021 09:31
-
-
Save mahozad/1365dc10297969dad2d01fca17b02f12 to your computer and use it in GitHub Desktop.
Kotlin script hello world example. Can be run from the command line with `kotlin hello.main.kts` command. Ensure Kotlin compiler is installed on your machine and is added to the PATH. You can also run the script with `hello.main.kts` command on Linux given Kotlin is available in /usr/bin/env/.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env kotlin | |
println("Hello World!") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment