
上QQ阅读APP看书,第一时间看更新
Installing Kotlin on Linux
To install Kotlin on Unix based systems such as Linux, Solaris, OS X etc., run the following commands in a terminal.
$ curl -s https://get.sdkman.io | bash
Then open a new terminal and execute below commands to install Kotlin:
$ sdk install kotlin
We can run the following command to see the version of Kotlin:
$ kotlin -version
To install Kotlin on Ubuntu, execute the following command from a terminal:
$ sudo snap install --classic kotlin