kotlinc
Verified for current stable LTS
Kotlinc Command: Execute Kotlin Script File
Use for execute kotlin script file with Kotlinc. Exact CLI syntax to execute kotlin script file using Kotlinc.
When to use this: Use for execute kotlin script file with Kotlinc.
Command Syntax
kotlinc -script <path/to/file.kts> kotlinc -script <path/to/file.kts> Command Breakdown
-script- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to execute kotlin script file using Kotlinc.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Kotlinc Command: Compile Kotlin File
kotlinc <path/to/file.kt> Kotlinc Command: Compile Kotlin File To Jar With Runtime kotlinc <path/to/file.kt> -include-runtime -d <path/to/file.jar> Kotlinc Command: Compile Multiple Kotlin Files kotlinc <path/to/file1.kt path/to/file2.kt ...> Kotlinc Command: Start Repl Interactive Shell kotlinc Ed Command: Start Interactive Editor Quiet Script ed -q -s