# 使用 Homebrew Cask 安装 kotlin-lsp

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

## 安装

```sh
sudo av install cask:kotlin-lsp
```

其他安装命令:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask kotlin-lsp
```

  证据: local Homebrew cask metadata

## 软件包事实

- **软件包键:** cask:kotlin-lsp
- **软件包管理器:** Homebrew Cask
- **版本:** 262.9593.0
- **来源摘要:** Official Kotlin Language Server
- **主页:** <https://github.com/Kotlin/kotlin-lsp>
- **最后更新:** 2026-07-27T01:37:04Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kotlin-lsp (二进制)
- kotlin-lsp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 262.9593.0
## 项目历史与用法

Kotlin LSP is JetBrains' official Language Server Protocol implementation for Kotlin, packaged as the language server behind the Kotlin by JetBrains Visual Studio Code extension and usable by other editors that speak LSP.

### 项目历史

JetBrains created the public Kotlin/kotlin-lsp repository on April 28, 2025, after years in which Kotlin editor support was strongest inside IntelliJ IDEA and Android Studio. The Kotlin documentation describes the server as based on IntelliJ IDEA, the IntelliJ IDEA Kotlin plugin, JetBrains AIR, and Fleet, which makes the package notable because it exports parts of JetBrains' Kotlin code-insight stack through a standard editor protocol.

JetBrains announced the Alpha release of official Kotlin support for Visual Studio Code at KotlinConf 2026 on May 21, 2026. The announcement framed the extension and language server as a way to support Kotlin developers who prefer VS Code while keeping IntelliJ IDEA and Android Studio as the most complete Kotlin environments.

### 采用历史

The first public package-manager-visible releases appeared in 2025, with a GitHub release for kotlin-lsp/v0.252.17811 published on May 27, 2025. By 2026, Homebrew Cask distributed Kotlin LSP as a downloadable JetBrains language-server bundle, making the official server easy to install outside JetBrains IDEs on macOS.

Adoption is tied to the broader LSP ecosystem: editors such as VS Code, Neovim, and other LSP clients can reuse a language server rather than needing a dedicated Kotlin plugin. That mattered to Kotlin users because earlier community servers existed, but the official server brought JetBrains-backed analysis, diagnostics, formatting, and navigation to protocol-based editors.

### 使用方式

The package installs the `kotlin-lsp` executable. Kotlin's documentation says the server supports core language-server features including up-to-date Kotlin language versions, IntelliJ-powered completion and diagnostics, build-system support for JVM projects using Gradle and Maven, semantic highlighting, import organization, rename refactoring, formatting, hover, call hierarchy, and code folding.

### 为什么软件包爱好者会关心

For package-manager users, kotlin-lsp is a bridge between heavyweight IDE-quality language tooling and lightweight editor setups. Its cask form is also a good example of modern developer tooling being distributed as large vendor-built language-server artifacts rather than as small source-built Unix utilities.

### 时间线

- 2025-04-28: Kotlin/kotlin-lsp repository created on GitHub.
- 2025-05-27: kotlin-lsp/v0.252.17811 release published on GitHub.
- 2026-05-21: JetBrains announced Alpha official Kotlin support for Visual Studio Code, powered by Kotlin Language Server.
- 2026-06-19: kotlin-lsp/v262.8190.0 release published on GitHub and used by the Homebrew Cask source archive in this batch.

### Related projects

- Kotlin LSP is part of the Kotlin tooling family around the JetBrains Kotlin compiler, IntelliJ IDEA Kotlin plugin, Fleet, Android Studio, and the Language Server Protocol standard. It also relates to earlier community Kotlin language servers used by editor users before JetBrains published an official implementation.

### 来源

- <https://blog.jetbrains.com/kotlin/2026/05/official-kotlin-support-for-visual-studio-code-is-now-available-in-alpha/>
- <https://github.com/Kotlin/kotlin-lsp>
- <https://github.com/Kotlin/kotlin-lsp/releases/tag/kotlin-lsp/v0.252.17811>
- <https://github.com/Kotlin/kotlin-lsp/releases/tag/kotlin-lsp/v262.8190.0>
- <https://kotlinlang.org/docs/kotlin-lsp.html>


## 安全说明

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



## Combined YAML source

View the package source record on GitHub. [combined/kotlin-lsp.yml](https://github.com/mxcl/pkgdb/blob/main/combined/kotlin-lsp.yml)


## 来源

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