Run kotlin script with command line

Hi all,

I found a really useful tutorial to use kotlin script with maven dependencies. That’s awesome to be able to use kotlin dependencies in a script.

But now, I’d like to use command line to execute my custom script and I don’t see how to do it in a clean way.

The tutorial is at this adress: Get started with Kotlin custom scripting – tutorial | Kotlin

Could you help me please?

Most of information about scripting is here: KEEP/scripting-support.md at master · Kotlin/KEEP · GitHub

Some examples are here:

I would recommend using KI or jupyter-kernel for more smooth experience.