# Install kotlin-native with Homebrew Cask

LLVM backend for Kotlin. Version 2.4.10 via Homebrew Cask; verified 2026-07-14. Also installable with nix: nix profile install nixpkgs#kotlin-native.

## Install

```sh
sudo av install cask:kotlin-native
```

Additional install commands:

### macOS

- Homebrew Cask (100%):

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

  Evidence: local Homebrew cask metadata

## Package facts

- **Package key:** cask:kotlin-native
- **Package manager:** Homebrew Cask
- **Version:** 2.4.10
- **Source summary:** LLVM backend for Kotlin
- **Homepage:** <https://kotlinlang.org/docs/reference/native-overview.html>
- **Last updated:** 2026-07-14T10:52:55Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- cinterop (binary)
- generate-platform (binary)
- klib (binary)
- konan-lldb (binary)
- konanc (binary)
- kotlinc-native (binary)
- run_konan (binary)
- cinterop (alias)
- generate-platform (alias)
- klib (alias)
- konan-lldb (alias)
- konanc (alias)
- kotlinc-native (alias)
- run_konan (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.4.10
## Project history and usage

Kotlin/Native is the Kotlin compiler backend and runtime path for producing native binaries without a virtual machine. It uses LLVM and a native Kotlin standard-library implementation, and it made Kotlin a practical language for iOS, desktop, command-line, embedded-style, and other non-JVM targets.

### Project history

JetBrains announced the first Kotlin/Native Technology Preview in April 2017 as 'Kotlin without a VM.' The technology preview compiled Kotlin directly to machine code and produced standalone executables, extending Kotlin beyond its early JVM and JavaScript focus.

Kotlin/Native became a central piece of Kotlin Multiplatform. Kotlin 1.3, released in October 2018, brought Kotlin/Native Beta and expanded multiplatform capabilities so that shared business logic could cover Android and iOS applications as well as server, web, and mobile clients.

The Kotlin 1.9.20 release in November 2023 continued the Kotlin/Native maturation story with native runtime work such as a custom memory allocator enabled by default and garbage-collector performance improvements, while Kotlin Multiplatform was declared stable in the same release cycle.

### Adoption history

Kotlin/Native adoption followed Kotlin Multiplatform adoption rather than standalone CLI usage alone. Mobile teams used it to share Kotlin code with iOS, while package managers such as Homebrew Cask exposed the command-line toolchain directly through executables including `konanc`, `kotlinc-native`, `cinterop`, and `klib`.

Its importance grew as Kotlin moved from a JVM-first language into a cross-platform language family. Kotlin 2.0 in May 2024 made the K2 compiler stable across JVM, Native, Wasm, and JS, reinforcing Native as a first-class target in the compiler architecture.

### How it is used

The package provides native compilation and interop tools. Typical package-manager usage is installing the prebuilt toolchain, then using `kotlinc-native` or `konanc` to produce platform-native artifacts and `cinterop` or `klib` to work with native libraries and Kotlin/Native library packages.

### Why package nerds care

Kotlin/Native is interesting to package nerds because it ships as a sizable prebuilt compiler runtime rather than a small formula-built utility. It also represents the point where a language package stops being just `kotlin` and splits into target-specific toolchains, artifacts, and compatibility surfaces.

### Timeline

- 2017-04: JetBrains announced the first Kotlin/Native Technology Preview.
- 2018-10: Kotlin 1.3 shipped with Kotlin/Native Beta.
- 2023-11: Kotlin 1.9.20 shipped major Kotlin/Native runtime improvements and stable Kotlin Multiplatform.
- 2024-05: Kotlin 2.0 shipped the stable K2 compiler across JVM, Native, Wasm, and JS.
- 2026-06-03: Kotlin 2.4.0 was released and supplied the Kotlin/Native source archive version used by this Homebrew Cask batch.

### Related projects

- Kotlin/Native is developed in the JetBrains Kotlin repository and is closely related to Kotlin Multiplatform, Kotlin/JS, Kotlin/Wasm, the K2 compiler, LLVM, Kotlin Gradle tooling, and iOS-oriented shared-code workflows.

### Sources

- <https://blog.jetbrains.com/kotlin/2017/04/kotlinnative-tech-preview-kotlin-without-a-vm/>
- <https://blog.jetbrains.com/kotlin/2018/10/kotlin-1-3/>
- <https://blog.jetbrains.com/kotlin/2023/11/kotlin-1-9-20-released/>
- <https://blog.jetbrains.com/kotlin/2024/05/celebrating-kotlin-2-0-fast-smart-and-multiplatform/>
- <https://kotlinlang.org/docs/native-overview.html>
- <https://kotlinlang.org/docs/releases.html>


## Security Notes

No matching local secret-handling manifest was found for kotlin-native. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Other Package-Manager Records

- Nix - kotlin-native: normalized package name match | nixpkgs package indexes: kotlin-native from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Scoop - main/kotlin-native: normalized package name match | Scoop official bucket manifest trees: bucket/kotlin-native.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- zypper - klib - 1.0~git.20251221-1.2: installed executable or alias match | openSUSE Tumbleweed package metadata: klib from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | C library with utility functions | https://github.com/attractivechaos/klib
- zypper - klib-devel - 1.0~git.20251221-1.2: installed executable or alias match | openSUSE Tumbleweed package metadata: klib-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for klib | https://github.com/attractivechaos/klib


## Combined YAML source

View the package source record on GitHub. [combined/kotlin-native.yml](https://github.com/mxcl/pkgdb/blob/main/combined/kotlin-native.yml)


## Sources

- pkg.so package database
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
