There are several options to run Kotlin interactively: kotlinc and Kotlin REPL (read-evaluate-print loop) in IntelliJ IDEA.
Neither is ideal. kotlinc does not have autocomplete or syntax highlighting. Kotlin REPL is very powerful, but it forces you to open IntelliJ IDEA, which is not always convenient.
Allow me to introduce you to ki, a Kotlin Interactive Shell, and describe its benefits below.
An