# kotlin-language-server を Homebrew, apk, MacPorts, Nix でインストール

kotlin-language-server のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:kotlin-language-server
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install kotlin-language-server
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install kotlin-language-server
```

  証拠: MacPorts ports tree: devel/kotlin-language-server/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add kotlin-language-server
```

  証拠: Alpine Linux edge package indexes: kotlin-language-server from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#kotlin-language-server
```

  証拠: nixpkgs package indexes: pkgs/by-name/ko/kotlin-language-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:kotlin-language-server
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.3.13
- **ソース概要:** Intelligent Kotlin support for any editor/IDE using the Language Server Protocol
- **ホームページ:** <https://github.com/fwcd/kotlin-language-server>
- **リポジトリ:** <https://github.com/fwcd/kotlin-language-server>
- **最終更新:** 2026-08-02T01:26:52+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- kotlin-language-server (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.3.13
## プロジェクトの歴史と使われ方

fwcd/kotlin-language-server is the long-running community Kotlin implementation of the Language Server Protocol. It mattered because it gave editor-agnostic Kotlin completion, diagnostics, hover, symbols, and navigation before JetBrains published an official Kotlin language server.

### プロジェクトの歴史

The GitHub repository was created on 2018-05-28 and early release metadata shows version 0.1.3 on 2018-06-12. The README describes a language server providing smart completion, diagnostics, hover, document symbols, definition lookup, and signature help for Kotlin in any LSP-capable editor.

The README explicitly notes that JetBrains later published an official language server and that this community project can be considered deprecated. JetBrains documentation describes the official Kotlin Language Server as based on IntelliJ IDEA, the IntelliJ IDEA Kotlin plugin, JetBrains AIR, and Fleet.

### 採用の歴史

The project became widely referenced because Kotlin users outside IntelliJ IDEA and Android Studio needed LSP support in editors such as VS Code, Atom, Vim/Neovim, Emacs, and Helix. Package-manager adoption in Homebrew, MacPorts, Nix, and APK reflects that cross-editor audience.

GitHub repository metadata observed on 2026-07-01 reported 2,035 stars and 249 forks, a notable footprint for a language server maintained outside the language vendor.

### 使われ方

Users install the `kotlin-language-server` executable and configure an LSP client in their editor. For classpaths, the README documents automatic Maven or Gradle resolution as well as manual scripts such as `[project root]/kls-classpath` or config-root `kotlin-language-server/classpath` files.

Its practical use was strongest for Kotlin/JVM projects where editor users wanted language intelligence without opening the project in IntelliJ IDEA.

### パッケージ好きにとっての重要性

This package is significant because language servers are exactly the kind of tool package managers make useful: one executable can unlock editor integrations across many frontends.

It also captures a transitional moment in language tooling, where community LSP implementations filled gaps until language vendors shipped official servers.

### タイムライン

- 2018-05-28: GitHub repository created.
- 2018-06-12: 0.1.3 release published in GitHub release metadata.
- 2019-08-16: 0.3.0 release published.
- 2019-10-25: 0.4.0 release published.
- 2025: JetBrains documentation published an official Kotlin Language Server page, and the community README marked fwcd/kotlin-language-server deprecated in favor of it.

### Related projects

- The project is related to the Language Server Protocol, Kotlin compiler internals, editor LSP clients, VS Code Kotlin integrations, and JetBrains' official Kotlin Language Server.
- It also sits near kotlin-debug-adapter and tree-sitter-kotlin, both of which appear in the README as companion editor-agnostic Kotlin tooling.

### ソース

- <https://api.github.com/repos/fwcd/kotlin-language-server>
- <https://github.com/fwcd/kotlin-language-server>
- <https://github.com/fwcd/kotlin-language-server/releases>
- <https://kotlinlang.org/docs/kotlin-lsp.html>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: [project root]/kls-classpath, [project root]/kls-classpath.sh, ~/.config/kotlin-language-server/classpath, ~/.config/kotlin-language-server/classpath.sh
- Windows: [project root]\kls-classpath.bat, [project root]\kls-classpath.cmd, %HOMEPATH%\.config\kotlin-language-server\classpath.bat
## 他のパッケージマネージャ記録

- Nix - kotlin-language-server: normalized package name match | nixpkgs package indexes: pkgs/by-name/ko/kotlin-language-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - kotlin-language-server - 1.3.13-r0: normalized package name match | Alpine Linux edge package indexes: kotlin-language-server from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Kotlin code completion, linting and more for any editor/IDE using the Language Server Protocol | https://github.com/fwcd/kotlin-language-server
- MacPorts - kotlin-language-server: normalized package name match | MacPorts ports tree: devel/kotlin-language-server/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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