# Executing Kotlin scripts in command shell

**URL:** <https://discuss.kotlinlang.org/t/executing-kotlin-scripts-in-command-shell/1926>\
**Category:** Support\
**Created:** [August 17, 2016, 3:59pm UTC](https://discuss.kotlinlang.org/t/executing-kotlin-scripts-in-command-shell/1926 "2016-08-17T15:59:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![udalov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/udalov/32/5679_2.png) [@udalov](https://discuss.kotlinlang.org/u/udalov)\
**Post date:** [August 17, 2016, 4:25pm UTC](https://discuss.kotlinlang.org/t/executing-kotlin-scripts-in-command-shell/1926/2 "2016-08-17T16:25:58Z")

</div>

Currently the only way to run a Kotlin script from the command line is:

```
kotlinc -script file.kts <arguments>

```

The `kotlin` command is going to support running scripts at some point, but as the error message says, it’s not yet done.

---

_[View the full topic](https://discuss.kotlinlang.org/t/executing-kotlin-scripts-in-command-shell/1926)._
