Automic VaultAutomic Vault

brew

kotlin を Homebrew, apt, MacPorts, Nix, pacman, scoop, chocolatey でインストール

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

概要

パッケージ概要

Statically typed programming language for the JVM

コマンドとエイリアス

  • kapt
  • kotlin
  • kotlinc
  • kotlinc-js
  • kotlinc-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.

タイムライン

  • 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

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
kaptcliグローバル実行可能ファイル
kotlincliグローバル実行可能ファイル
kotlinccliグローバル実行可能ファイル
kotlinc-jscliグローバル実行可能ファイル
kotlinc-jvmcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版2.4.0
マネージャ更新日2026-06-03
ローカルデータOK
上流not checked
検出された最新未検出

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
Pulseupdated
依存関係openjdk
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekotlin
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの 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.0-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.5272','w10privacy'

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment