Automic VaultAutomic Vault

brew

Install kotlin with Homebrew, apt, MacPorts, Nix, pacman, scoop, chocolatey

Statically typed programming language for the JVM. Version 2.4.0 via Homebrew; verified 2026-06-03.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install kotlin

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install kotlin

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

Windows

Scoopverified · 92%
scoop install main/kotlin

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

Chocolateyverified · 92%
choco install kotlinc

Chocolatey community package catalog · kotlinc · source: community.chocolatey.org

overview

Package summary

Statically typed programming language for the JVM

Commands and aliases

  • kapt
  • kotlin
  • kotlinc
  • kotlinc-js
  • kotlinc-jvm

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

Sources

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:programming language

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
kaptcliglobal executable
kotlincliglobal executable
kotlinccliglobal executable
kotlinc-jscliglobal executable
kotlinc-jvmcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.4.0
manager updated2026-06-03
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/JetBrains/kotlin

install metadata

Package metadata

Package keybrew:kotlin
Version2.4.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/kotlin
Homepagehttps://kotlinlang.org/
Repositoryhttps://github.com/JetBrains/kotlin
Upstream docshttps://kotlinlang.org/docs/home.html
LicenseApache-2.0
Source archivehttps://github.com/JetBrains/kotlin/releases/download/v2.4.0/kotlin-compiler-2.4.0.zip
Last updated2026-06-03T12:06:15Z
Pulseupdated
Dependenciesopenjdk
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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'

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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