Working with the Command Line Compiler

Working with the Command Line Compiler

This tutorial walks us through creating a Hello World application using the command line compiler.

Downloading the compiler

Every release ships with a standalone version of the compiler. We can download it from GitHub Releases. The latest release is 1.1.0.

Manual Install

Unzip the standalone compiler into a directory and optionally add the bin directory to the system path. The bin directory contains the scripts needed to compile and run Kotlin on Windows, OS X and Linux.

SDKMAN!

An easier way to install Kotlin on UNIX based systems such as OS X, Linux, Cygwin, FreeBSD and Solaris is by using SDKMAN!. Sim