pkg.soopen package index

cask / 排名 2778

使用 Homebrew Cask 安装 kotlin-native

查看 kotlin-native 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew Cask已验证 · 100%
brew install --cask kotlin-native

local Homebrew cask metadata

概览

软件包摘要

LLVM backend for Kotlin

命令和别名

  • cinterop
  • generate-platform
  • klib
  • konan-lldb
  • konanc
  • kotlinc-native
  • run_konan

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

尚未找到受保护工具覆盖

没有找到 kotlin-native 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
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 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本2.4.10
管理器更新时间2026-07-14
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键cask:kotlin-native
版本2.4.10
软件包管理器Homebrew Cask
主页https://kotlinlang.org/docs/reference/native-overview.html
最后更新2026-07-14T10:52:55Z
Pulseupdated
SHA-25655ded039bb56a69aec9df354a92b42df9e916104e3c53d8d9852d9cc6617ed9d
下载 URLhttps://github.com/JetBrains/kotlin/releases/download/v2.4.10/kotlin-native-prebuilt-macos-aarch64-2.4.10.tar.gz
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

kotlin-native

nix profile install nixpkgs#kotlin-native
  • normalized package name match
  • 匹配方式:Kotlin Native
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: kotlin-native from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Scoop95%

main/kotlin-native

scoop install main/kotlin-native
  • normalized package name match
  • 匹配方式:Kotlin Native
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/kotlin-native.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
zypper92%

klib 1.0~git.20251221-1.2

C library with utility functions

https://github.com/attractivechaos/klib

sudo zypper install klib
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: klib
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Klib
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: klib from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper92%

klib-devel 1.0~git.20251221-1.2

Development files for klib

https://github.com/attractivechaos/klib

sudo zypper install klib-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: klib
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Klib
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: klib-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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