main-kts
Use when creating, writing, or running standalone executable Kotlin scripts with the .main.kts extension, including the kotlin script runner, shebang execution, @file:DependsOn/@file:Repository/@file:Import/@file:CompilerOptions/@file:OptIn annotations, script dependencies, command-line args, compiled-script caching, and common scripting libraries such as ktor, kotlinx-serialization, kotlinx-coroutines, clikt, and kotlinx-html.
Pinned to revision 65511528558e, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.