macOS
brew install --cask kotlin-nativelocal Homebrew cask metadata
安装
brew install --cask kotlin-nativelocal Homebrew cask metadata
概览
LLVM backend for Kotlin
历史
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.
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.
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.
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.
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.
安全态势
没有找到 kotlin-native 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cinterop | 二进制 | Homebrew cask 二进制 | kotlin-native-prebuilt-macos-aarch64-2.4.10/bin/cinterop |
generate-platform | 二进制 | Homebrew cask 二进制 | kotlin-native-prebuilt-macos-aarch64-2.4.10/bin/generate-platform |
klib | 二进制 | Homebrew cask 二进制 | kotlin-native-prebuilt-macos-aarch64-2.4.10/bin/klib |
konan-lldb | 二进制 | Homebrew cask 二进制 | kotlin-native-prebuilt-macos-aarch64-2.4.10/bin/konan-lldb |
konanc | 二进制 | Homebrew cask 二进制 | kotlin-native-prebuilt-macos-aarch64-2.4.10/bin/konanc |
kotlinc-native | 二进制 | Homebrew cask 二进制 | kotlin-native-prebuilt-macos-aarch64-2.4.10/bin/kotlinc-native |
run_konan | 二进制 | Homebrew cask 二进制 | kotlin-native-prebuilt-macos-aarch64-2.4.10/bin/run_konan |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | cask:kotlin-native |
|---|---|
| 版本 | 2.4.10 |
| 软件包管理器 | Homebrew Cask |
| 主页 | https://kotlinlang.org/docs/reference/native-overview.html |
| 最后更新 | 2026-07-14T10:52:55Z |
| Pulse | updated |
| SHA-256 | 55ded039bb56a69aec9df354a92b42df9e916104e3c53d8d9852d9cc6617ed9d |
| 下载 URL | https://github.com/JetBrains/kotlin/releases/download/v2.4.10/kotlin-native-prebuilt-macos-aarch64-2.4.10.tar.gz |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
kotlin-native
nix profile install nixpkgs#kotlin-nativemain/kotlin-native
scoop install main/kotlin-nativeklib 1.0~git.20251221-1.2
C library with utility functions
https://github.com/attractivechaos/klib
sudo zypper install klibklib-devel 1.0~git.20251221-1.2
Development files for klib
https://github.com/attractivechaos/klib
sudo zypper install klib-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.