Nice way to launch the Kotlin REPL

I like to launch a REPL and try out some things. For quick examples it is just more convenient than using an IDE (at least for me). Kotlin has a REPL, too, but it is not in the PATH by default (after installing IntelliJ IDEA) and it doesn’t have a nice name. kotlinc-jvm is an awkward name for a regularly used tool. Why not just kotlin? The REPLs of Scala and Python are just launchend with scala and python.

Suggestions:

  • make kotlin without parameters launch the REPL
  • set it on the path when installing IntelliJ IDEA

Currently you can also run kotlinc to launch the REPL.