Kotlin Native
JetBrains s.r.o. and Kotlin Programming Language contributors · 适用于 macOS 的 Kotlin/Native 工具链包,包含 LLVM 后端以及用于原生编译和相关任务的命令行工具。
brew install --cask kotlin-native- 近 30 天安装
- 13
- App榜第 2020
- 近一年安装
- 237
- 365 天累计
- 最新版本
- 2.4.21
- 下载大小
- 290MB
- gz
- 更新节奏
- 每周
- 近 30 天 2 个版本
介绍
Kotlin Native 是适用于 macOS 的 Kotlin/Native 工具链包,其定位是 Kotlin 的 LLVM 后端。它提供命令行工具,而非图形应用。安装的二进制文件包括用于 Kotlin/Native 编译流程的 konanc 和 kotlinc-native,以及用于相关任务的 cinterop、klib、generate-platform、konan-lldb 和 run_konan。此软件包包含这些工具;现有产品信息未详细说明各工具的选项或完整开发流程。
使用 Homebrew Cask 安装:
brew install --cask kotlin-native
需要 Java 6 或更高版本。如果尚未安装 Java,Cask 建议使用 brew install --cask temurin 安装 Temurin。Cask 提供适用于 Apple 芯片(aarch64)和 Intel(x86_64)系统的 macOS 下载包。安装后,可根据 Kotlin/Native 工作需要,在终端中使用相应命令行工具。此软件包是原生工具链,不是 Kotlin IDE 或图形应用。
基本信息
- 芯片
- Apple 芯片 · Intel
- 自动更新
- 否
- 仓库
- GitHub 仓库 · 0 天前更新★5.4万
- 开发者
- JetBrains s.r.o. and Kotlin Programming Language contributors
- Homebrew
- 可以安装,由 Homebrew 更新
- 其他名称
- kotlin-native
- 主页
- kotlinlang.org/docs/reference/native-overview.html
- 软件包标识符
- kotlin-native
核查日期
2.5.0-rc2 更新内容
新版本 · 来自 GitHub Release
Kotlin 2.5.0-RC2
Changelog
Backend. Wasm
KT-91749Kotlin/Wasm: cos is ~47% slower in 2.5.0-RC than in 2.4.21
Compiler
KT-91549Slowdown in compose benchmarks in Float.fromBits
Tools. Compiler Plugins
KT-91488Lombok: Kotlin use of one sibling@SuperBuilderleaf's builder() makes the other leaf's inherited parent-builder setters unresolvedKT-87563Lombok: StackOverflow with@SuperBuilderand cyclic inheritance hierarchy
Tools. Compiler plugins. Compose
KT-91414Compose compiler, Kotlin/Native: lambda SAM-converted to@Composablefun interface gets no restart group; recomposition fails with "No nodes can be emitted before calling skipAndEndGroup"KT-91591Compose: NoSuchFieldError when a cross-module@JvmFieldproperty of@Composablelambda type is accessed more than once (field arity grows by 2 per access)
Tools. Gradle. JS
如何在 Mac 上安装 Kotlin Native
不用 Homebrew 安装
按芯片下载 Homebrew 使用的文件: 安装细节
卸载 Kotlin Native 与可选的数据清理
brew uninstall --cask kotlin-native普通卸载会删除应用本身,设置和缓存会保留。
关于 Kotlin Native 的常见问题
Kotlin Native 安全吗?
Kotlin Native 收录在 Homebrew 官方软件库中,没有被停用。自 2026 年 9 月起,Homebrew 会停用没有通过 macOS Gatekeeper 检查的应用。安装时,Homebrew 会用 SHA-256 校验值核对来自 github.com 的安装包。过去 30 天,它通过 Homebrew 安装了 13 次。
Kotlin Native 有公开的 GitHub 仓库吗?
Kotlin Native 有公开的 GitHub 仓库(https://github.com/JetBrains/kotlin),但 OpenNavo 尚未核实其 OSI 许可证。
怎样在 Mac 上彻底卸载 Kotlin Native?
运行 brew uninstall --cask kotlin-native。
Kotlin Native 支持 Apple 芯片(M1 及更新)的 Mac 吗?
支持。Homebrew 会为 Apple 芯片和 Intel 芯片的 Mac 分别下载不同的安装包。
Kotlin Native 的最新版本是多少?
最新版本是 2.4.21,Homebrew 收录于 2026年10月8日。运行 brew upgrade --cask kotlin-native 即可更新。
安装 Kotlin Native 还会装上什么?
还会装上 7 个命令行工具,包括 cinterop、generate-platform、klib、konan-lldb和konanc。
相似应用
- Factor串联式、基于栈的编程语言,采用编译实现并支持交互式开发。
- IBM Semeru Runtime (JDK 25) Open Edition一款适用于 macOS 的 JDK 软件包,结合了 OpenJDK 类库与 Eclipse OpenJ9 JVM。
- Adobe AIR用于在 macOS 上运行以 .air 文件分发的应用程序的 Adobe AIR 运行时。
- OpenJDK Early Access Java Development Kit Beta用于 Java 开发的早期访问版 Java 开发工具包,安装为 macOS Java 虚拟机目录中的 JDK。