pkg.soopen package index

brew / 排名 881

使用 Homebrew, apt, MacPorts, Nix, pacman, scoop, chocolatey 安装 kotlin

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install kotlin

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install kotlin

MacPorts ports tree · lang/kotlin/Portfile · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install main/kotlin

Scoop official bucket manifest trees · bucket/kotlin.json · 来源: api.github.com

Chocolatey已验证 · 92%
choco install kotlinc

Chocolatey community package catalog · kotlinc · 来源: community.chocolatey.org

概览

软件包摘要

Statically typed programming language for the JVM

命令和别名

  • kapt
  • kotlin
  • kotlinc
  • kotlinc-js
  • kotlinc-jvm
  • kotlinc-wasm
  • kotlinr

历史

项目历史与用法

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.

时间线

  • 2010: JetBrains started the Kotlin project.
  • 2011-08: JetBrains publicly explained why it was investing in Kotlin.
  • 2016-02-15: Kotlin 1.0 was released.
  • 2017-05: Android announced official Kotlin support.
  • 2018-10: Kotlin 1.3 shipped with stable coroutines and Kotlin/Native Beta.
  • 2019-05: Google reported Kotlin-first Android momentum at Google I/O 2019.
  • 2024-05: Kotlin 2.0 shipped with the stable K2 compiler.
  • 2026-06-03: Kotlin 2.4.0 was released.

Related projects

  • Kotlin is related to JetBrains IntelliJ IDEA, Android Studio, Gradle, Kotlin Multiplatform, Kotlin/Native, Kotlin/JS, Kotlin/Wasm, Ktor, kotlinx.coroutines, kapt, KSP, and the Kotlin Language Server.

来源

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
kapt可执行文件已索引可执行文件从本地可执行文件索引发现。
kotlin可执行文件已索引可执行文件从本地可执行文件索引发现。
kotlinc可执行文件已索引可执行文件从本地可执行文件索引发现。
kotlinc-js可执行文件已索引可执行文件从本地可执行文件索引发现。
kotlinc-jvm可执行文件已索引可执行文件从本地可执行文件索引发现。
kotlinc-wasm可执行文件已索引可执行文件从本地可执行文件索引发现。
kotlinr可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

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

安装元数据

软件包元数据

软件包键brew:kotlin
版本2.4.10
软件包管理器Homebrew
主页https://kotlinlang.org/
仓库https://github.com/JetBrains/kotlin
最后更新2026-07-14T13:11:38Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

kotlin 1.3.31+ds1-3

cross-platform, general-purpose programming language

https://kotlinlang.org

sudo apt install kotlin
  • Section: java
  • Architecture: all
  • 11 依赖
  • normalized package name match
  • 匹配方式:Kotlin
Debian stable package indexes · deb.debian.org · Debian stable package indexes: kotlin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

kotlin

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

kotlin 1.3.31+ds1-1ubuntu1

cross-platform, general-purpose programming language

https://kotlinlang.org

sudo apt install kotlin
  • Section: universe/java
  • Architecture: all
  • 11 依赖
  • normalized package name match
  • 匹配方式:Kotlin
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: kotlin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

kotlin 2.4.10-1

Statically typed programming language with multiplatform support

https://kotlinlang.org/

sudo pacman -S kotlin
  • License: Apache-2.0 AND custom
  • Architecture: any
  • 1 依赖
  • normalized package name match
  • 匹配方式:Kotlin
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: kotlin from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

kotlin

sudo port install kotlin
  • normalized package name match
  • 匹配方式:Kotlin
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/kotlin/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/kotlin

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

kotlinc

choco install kotlinc
  • installed executable or alias match
  • 匹配方式:Kotlinc
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: kotlinc from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.436','istioctl'

来源线索

由仓库数据生成

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

使用的来源

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