Copy the Hello World example into the editor. This will be automatically synced to the environment.
fun main(args: Array<String>) { println("Hello, World!") }
Compile
kotlinc app.kt -include-runtime -d hello.jar
Run
java -jar hello.jar
Interested in writing your own Kotlin scenarios and demos? Visit www.katacoda.com/teach