macOS
brew install kotlinlocal Homebrew formula metadata
sudo port install kotlinMacPorts ports tree · lang/kotlin/Portfile · 来源: api.github.com
安装
brew install kotlinlocal Homebrew formula metadata
sudo port install kotlinMacPorts ports tree · lang/kotlin/Portfile · 来源: api.github.com
sudo apt install kotlinDebian stable package indexes · kotlin · 来源: deb.debian.org
nix profile install nixpkgs#kotlinnixpkgs package indexes · kotlin · 来源: raw.githubusercontent.com
sudo pacman -S kotlinArch Linux sync databases · kotlin · 来源: geo.mirror.pkgbuild.com
scoop install main/kotlinScoop official bucket manifest trees · bucket/kotlin.json · 来源: api.github.com
choco install kotlincChocolatey community package catalog · kotlinc · 来源: community.chocolatey.org
概览
Statically typed programming language for the JVM
历史
Kotlin is JetBrains' open-source, statically typed programming language for JVM, Android, JavaScript, Wasm, and Native targets. In package managers, the `kotlin` formula represents the command-line compiler and scripting tools behind a language that moved from JetBrains' internal productivity needs to mainstream Android and multiplatform development.
JetBrains started Kotlin in 2010 and open-sourced it early in its development. JetBrains' 2011 explanation emphasized internal productivity, Java interoperability, and compilation speed: the company wanted a more expressive language for IntelliJ-based development without abandoning the JVM ecosystem.
Kotlin 1.0 was released on February 15, 2016 as a stable language for JVM and Android development. JetBrains positioned it as a pragmatic language focused on Java interoperability, null-safety, clarity, tooling, and use across server-side, mobile, and desktop applications.
The language broadened after 1.0. Google announced official Android support for Kotlin in May 2017, JetBrains and Google announced the Kotlin Foundation work around the same era, Kotlin/Native and multiplatform support expanded through 2017 and 2018, and Kotlin 2.0 in May 2024 introduced the stable K2 compiler as the default compiler architecture.
Kotlin's adoption accelerated through Android. The Android team announced official support in 2017, noting production use by companies such as Expedia, Flipboard, Pinterest, and Square. At Google I/O 2019, Google reported that more than 50 percent of professional Android developers used Kotlin and described Android development as increasingly Kotlin-first.
Beyond Android, Kotlin became part of server-side JVM work, Gradle build logic, multiplatform mobile projects, browser and Wasm experiments, and native targets. Package-manager adoption reflects that spread: the formula exposes command-line tools such as `kotlin`, `kotlinc`, `kotlinc-jvm`, `kotlinc-js`, and `kapt` for users who want compiler access outside an IDE.
The Homebrew formula installs the Kotlin command-line compiler and related launchers. Users run `kotlinc` for compilation, `kotlin` for running Kotlin programs and scripts, target-specific compiler frontends for JVM and JavaScript, and `kapt` for annotation-processing workflows in JVM builds.
Kotlin is a classic language-runtime package with an unusually strong IDE and Android story. For package nerds, it is notable because a Homebrew formula can give shell access to a language whose day-to-day use is often mediated by Gradle, IntelliJ IDEA, Android Studio, or platform-specific SDKs.
It also illustrates how modern language packages accumulate companion artifacts: Gradle plugins, compiler plugins, `kotlinx` libraries, native toolchains, LSP servers, and IDE integrations all orbit the base compiler package.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
kapt | cli | 全局可执行文件 | |
kotlin | cli | 全局可执行文件 | |
kotlinc | cli | 全局可执行文件 | |
kotlinc-js | cli | 全局可执行文件 | |
kotlinc-jvm | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/JetBrains/kotlin
安装元数据
| 软件包键 | brew:kotlin |
|---|---|
| 版本 | 2.4.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/kotlin |
| 主页 | https://kotlinlang.org/ |
| 仓库 | https://github.com/JetBrains/kotlin |
| 上游文档 | https://kotlinlang.org/docs/home.html |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/JetBrains/kotlin/releases/download/v2.4.0/kotlin-compiler-2.4.0.zip |
| 最后更新 | 2026-06-03T12:06:15Z |
| Pulse | updated |
| 依赖 | openjdk |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | kotlin |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
kotlin 1.3.31+ds1-3
cross-platform, general-purpose programming language
sudo apt install kotlinkotlin
nix profile install nixpkgs#kotlinkotlin 1.3.31+ds1-1ubuntu1
cross-platform, general-purpose programming language
sudo apt install kotlinkotlin 2.4.0-1
Statically typed programming language with multiplatform support
sudo pacman -S kotlinkotlin
sudo port install kotlinmain/kotlin
scoop install main/kotlinkotlinc
choco install kotlinc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.