The project is a Kotlin Shell for Apache Spark. It's based on ki-shell and provide the same user experience, including syntax highlighting, a type inference, and some level of completion.
Kotlin API extension will also work in the shell.
To build from source use:
git clone https://github.com/Kotlin/kotlin-spark-shell
cd kotlin-spark-shell
mvn package
It may be useful to build the project with a specific version of Kotlin or Scala. To do so use:
mvn -Dkotlin.version=1.4.10 -Dscala.version=2.11