kotlinkotlinc

How do I exit out of the Kotlinc command-line compiler


So, how do I exit out of the Kotlinc command-line compiler? I entered kotlinc on my terminal and played with some kotlin on my Mac and now couldn't figure how to exit. It is like the first time I tried vim. Tried ctrl+c, exit, exit(), quit , quit() aaand :q, but nothing worked!

I Searched the official documentation and couldn't find this information. Checked here on SO and I didn't find any previous question. Any help?


Solution

  • you can quit by using the command ‘:quit’.

    it's in the diagram from https://kotlinlang.org/docs/tutorials/command-line.html enter image description here

    you can type ':help' for more commands available to you.