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

Popular posts from this blog

How to get user's ip address in JavaScript

How to make a static http server in nodejs using express

Array concat method in JavaScript

What is 'this.' keyword in JavaScript

How to create promises in JavaScript