# Kotlin Native

A macOS Kotlin/Native toolchain package with an LLVM backend and command-line tools for native compilation and related tasks.

> This is the Markdown version of the Kotlin Native page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/kotlin-native>

- **Latest version**: `2.4.21`
- **Developer**: JetBrains s.r.o. and Kotlin Programming Language contributors
- **Homepage**: <https://kotlinlang.org/docs/reference/native-overview.html>
- **Categories**: [Languages & Runtimes](https://opennavo.com/categories/languages)
- **Install**: `brew install --cask kotlin-native`
- **30-day installs**: 13
- **Homebrew**: Available; updated by Homebrew
- **Download URL**: <https://github.com/JetBrains/kotlin/releases/download/v2.4.21/kotlin-native-prebuilt-macos-aarch64-2.4.21.tar.gz>
- **SHA-256**: `bf4edb526d91e17d0862102f69250525d788e79011f86c2c64362749adf260ae`
- **Commands**: cinterop, generate-platform, klib, konan-lldb, konanc, kotlinc-native, run_konan

SHA-256 only checks that the download is complete; it is not a security certification.

## Caveats

kotlin-native requires Java 6+. You can install the latest version with: brew install --cask temurin

## Installation and removal contents

```json
[
  {
    "declaration": {
      "binary": [
        "kotlin-native-prebuilt-macos-aarch64-2.4.21/bin/cinterop"
      ],
      "target": "$HOMEBREW_PREFIX/bin/cinterop"
    },
    "phase": "install",
    "sources": [
      "kotlin-native-prebuilt-macos-aarch64-2.4.21/bin/cinterop"
    ],
    "target": "$HOMEBREW_PREFIX/bin/cinterop",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "kotlin-native-prebuilt-macos-aarch64-2.4.21/bin/generate-platform"
      ],
      "target": "$HOMEBREW_PREFIX/bin/generate-platform"
    },
    "phase": "install",
    "sources": [
      "kotlin-native-prebuilt-macos-aarch64-2.4.21/bin/generate-platform"
    ],
    "target": "$HOMEBREW_PREFIX/bin/generate-platform",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "kotlin-native-prebuilt-macos-aarch64-2.4.21/bin/klib"
      ],
      "target": "$HOMEBREW_PREFIX/bin/klib"
    },
    "phase": "install",
    "sources": [
      "kotlin-native-prebuilt-macos-aarch64-2.4.21/bin/klib"
    ],
    "target": "$HOMEBREW_PREFIX/bin/klib",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "kotlin-native-prebuilt-macos-aarch64-2.4.21/bin/konan-lldb"
      ],
      "target": "$HOMEBREW_PREFIX/bin/konan-lldb"
    },
    "phase": "install",
    "sources": [
      "kotlin-native-prebuilt-macos-aarch64-2.4.21/bin/konan-lldb"
    ],
    "target": "$HOMEBREW_PREFIX/bin/konan-lldb",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "kotlin-native-prebuilt-macos-aarch64-2.4.21/bin/konanc"
      ],
      "target": "$HOMEBREW_PREFIX/bin/konanc"
    },
    "phase": "install",
    "sources": [
      "kotlin-native-prebuilt-macos-aarch64-2.4.21/bin/konanc"
    ],
    "target": "$HOMEBREW_PREFIX/bin/konanc",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "kotlin-native-prebuilt-macos-aarch64-2.4.21/bin/kotlinc-native"
      ],
      "target": "$HOMEBREW_PREFIX/bin/kotlinc-native"
    },
    "phase": "install",
    "sources": [
      "kotlin-native-prebuilt-macos-aarch64-2.4.21/bin/kotlinc-native"
    ],
    "target": "$HOMEBREW_PREFIX/bin/kotlinc-native",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "kotlin-native-prebuilt-macos-aarch64-2.4.21/bin/run_konan"
      ],
      "target": "$HOMEBREW_PREFIX/bin/run_konan"
    },
    "phase": "install",
    "sources": [
      "kotlin-native-prebuilt-macos-aarch64-2.4.21/bin/run_konan"
    ],
    "target": "$HOMEBREW_PREFIX/bin/run_konan",
    "type": "binary"
  },
  {
    "declaration": {
      "zap": []
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

Kotlin Native is a macOS package for the Kotlin/Native toolchain, described as an LLVM backend for Kotlin. It provides command-line tools rather than a graphical application. The installed binaries include `konanc` and `kotlinc-native` for Kotlin/Native compiler workflows, plus `cinterop`, `klib`, `generate-platform`, `konan-lldb`, and `run_konan` for related tasks. The package includes these tools; the supplied product information does not detail their individual options or a complete development workflow.

Install it with Homebrew Cask:

```sh
brew install --cask kotlin-native
```

Java 6 or later is required. If Java is not already available, the cask suggests installing Temurin with `brew install --cask temurin`. The cask provides macOS downloads for both Apple silicon (`aarch64`) and Intel (`x86_64`) systems. After installation, use the installed command-line tools from a terminal as needed for your Kotlin/Native work. This package is the native toolchain, not a Kotlin IDE or graphical app.

Sources: [Kotlin Native overview](https://kotlinlang.org/docs/reference/native-overview.html) · [Homebrew Cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/k/kotlin-native.rb)

## System requirements

- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 2.4.21 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/k/kotlin-native.rb> · Checked 2026-11-28
  - <https://github.com/JetBrains/kotlin/releases/download/v2.4.21/kotlin-native-prebuilt-macos-x86_64-2.4.21.tar.gz>
  - SHA-256: `741799f163ad240f7fe54fae5334490c5a8a8fca9b9e9d39495db497b4f1763c`
- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 2.4.21 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/k/kotlin-native.rb> · Checked 2026-11-28
  - <https://github.com/JetBrains/kotlin/releases/download/v2.4.21/kotlin-native-prebuilt-macos-aarch64-2.4.21.tar.gz>
  - SHA-256: `bf4edb526d91e17d0862102f69250525d788e79011f86c2c64362749adf260ae`

## Uninstall

- `brew uninstall --cask kotlin-native`

A regular uninstall removes the app and keeps its settings and caches.

## Latest release notes

### 2.5.0-rc2 (2026-11-25)

#### Changelog

##### Backend. Wasm

- [`KT-91749`](https://youtrack.jetbrains.com/issue/KT-91749) Kotlin/Wasm: cos is ~47% slower in 2.5.0-RC than in 2.4.21

##### Compiler

- [`KT-91549`](https://youtrack.jetbrains.com/issue/KT-91549) Slowdown in compose benchmarks in Float.fromBits

##### Tools. Compiler Plugins

- [`KT-91488`](https://youtrack.jetbrains.com/issue/KT-91488) Lombok: Kotlin use of one sibling `@SuperBuilder` leaf's builder() makes the other leaf's inherited parent-builder setters unresolved
- [`KT-87563`](https://youtrack.jetbrains.com/issue/KT-87563) Lombok: StackOverflow with `@SuperBuilder` and cyclic inheritance hierarchy

##### Tools. Compiler plugins. Compose

- [`KT-91414`](https://youtrack.jetbrains.com/issue/KT-91414) Compose compiler, Kotlin/Native: lambda SAM-converted to `@Composable` fun interface gets no restart group; recomposition fails with "No nodes can be emitted before calling skipAndEndGroup"
- [`KT-91591`](https://youtrack.jetbrains.com/issue/KT-91591) Compose: NoSuchFieldError when a cross-module `@JvmField` property of `@Composable` lambda type is accessed more than once (field arity grows by 2 per access)

##### Tools. Gradle. JS

- [`KT-90626`](https://youtrack.jetbrains.com/issue/KT-90626) Analysis API-based TypeScript declarations ignore the JS file name set on the link task
- [`KT-90770`](https://youtrack.jetbrains.com/issue/KT-90770) Analysis API-based TypeScript declarations ignore the module name set on the link task for UMD and plain modules

## Facts and sources

- <https://opennavo.com/apps/kotlin-native>
- <https://opennavo.com/apps/kotlin-native/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/k/kotlin-native.rb> · Checked 2026-11-28
- <https://formulae.brew.sh/cask/kotlin-native>
