Skip to content

Kotlin Toolchain

A unified entry point into Kotlin. Build JVM, Android, iOS, multiplatform, and server-side applications with a simple declarative configuration.

Command Line

Install the CLI
curl -fsSL https://kotl.in/install.sh | sh

The installer script downloads the Kotlin CLI, places it in ~/.local/bin, and ensures it's on your PATH. No sudo required. You can review the installer script before running it.

powershell -ExecutionPolicy ByPass -c "irm 'https://kotl.in/install.ps1' | iex"

The installer script downloads the Kotlin CLI, places it in ~/.local/bin, and ensures it's on your PATH. No sudo required. You can review the installer script before running it.

Create your first project
kotlin new

IntelliJ IDEA

Install the Kotlin Toolchain plugin in IntelliJ IDEA 2026.2.3+

File → New → Project → Kotlin

New Kotlin project in IntelliJ IDEA New Kotlin project in IntelliJ IDEA

Minimal Configuration

module.yaml
product: jvm/app

That's it. Toolchains, test framework, and everything you need — configured automatically.

ios-app/module.yaml
product: ios/app

dependencies:
  - //shared

settings:
  compose: enabled
android-app/module.yaml
product: android/app

dependencies:
  - //shared

settings:
  android:
    applicationId: com.example.app
  compose: enabled
desktop-app/module.yaml
product: jvm/app

dependencies:
  - //shared

settings:
  compose: enabled
shared/module.yaml
# Produce a shared library for the JVM, Android, and iOS platforms:
product:
  type: kmp/lib
  platforms: [jvm, android, iosArm64, iosSimulatorArm64]

# Shared Compose dependencies:
dependencies:
  - $compose.foundation: exported
  - $compose.material3: exported
  - $kotlin.serialization.json

# Android-only dependencies
dependencies@android:
  # Android-specific integration with Compose
  - androidx.activity:activity-compose:1.13.0: exported
  - androidx.appcompat:appcompat:1.7.1: exported

settings:
  # Enable Kotlin serialization
  kotlin:
    serialization: enabled

  # Enable the Compose Multiplatform framework
  compose: enabled

Shared UI across Android, iOS, and desktop with a single codebase.

See more examples

The Kotlin Toolchain is Alpha. We'd love your feedback!

Report an issue Join Slack

Android · iOS · Desktop · Server · Multiplatform · Compose