How can I run the Kotlin REPL kotlinc-jvm or kotlinc

Viewed 1647

I am completely new to Kotlin, and I am trying to run the Kotlin REPL.

Following this, and considering I am using OS X, and I have tried this:

$ /usr/local/bin/kotlinc-jvm

which is equivalent to:

$ kotlinc-jvm

Then in the following link, I found that a nicer way to run it is:

$ kotlinc

Is there any differences between this two commands, and which one should I choose?

1 Answers
Related