Kotlin Introduction & Setup

Kotlin is a statically-typed, cross-platform programming language.

Developed by JetBrains and officially supported by Google for Android development.

First released in 2011, stable version 1.0 in 2016.

Setup Kotlin with

  • IntelliJ IDEA: Best Kotlin IDE (Community Edition is free)
  • Android Studio: For Android development
  • Command Line: Install Kotlin compiler
# Install via SDKMAN!
$ sdk install kotlin

Create a Kotlin project in IntelliJ

  1. New Project → Kotlin
  2. Select JVM or Multiplatform
  3. Choose project SDK (Java 8+)
# Check Kotlin version
$ kotlinc -version

Key features: Interoperable with Java, concise syntax, null safety, functional programming.