How to install Kotlin programming language
Kotlin is a programming language that is statically typed runs on the JVM and can compile to JavaScript
To install kotlin using the Software Development Kit on Debian Ubuntu or Linux environment.
First install the SDK using
Command:
wget -O sdk.install.sh "https://get.sdkman.io"
bash sdk.install.sh
To install kotlin Type the command:
source ~/.sdkman/bin/sdkman-init.sh
sdk install kotlin
To install Java development kit (JDK) a vital dependency used for execution and compilation of kotlin code.
Type the command:
sudo apt-get install openjdk-8-jre-headless
To confirm installation type the command:
kotlin -version
It should return output similar to one below
Kotlin version 1.3.61-release-180 (JRE 1.8...)
Comments
Post a Comment