Kotlin 2 · Tooling

Run a script

Run a Kotlin script file (.kts).

kotlin script.main.kts

Official Kotlin 2 documentation

More tooling commands

All tooling commands · Kotlin 2 cheatsheet

Was this page helpful?