# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/kotlin-language-server>
- **バージョン:** 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>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/fwcd/kotlin-language-server/archive/refs/tags/1.3.13.tar.gz>
- **最終更新:** 2026-08-02T01:26:52+09:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## 依存関係

- openjdk@21

## ビルド依存関係

- gradle

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.3.13
- マネージャ更新日: 2026-08-02
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/fwcd/kotlin-language-server
- 検出された最新: 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
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kotlin-language-server
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [openjdk@21](https://pkg.so/ja/brew/openjdk-21/) - Runtime dependency declared by Homebrew.
- [gradle](https://pkg.so/ja/brew/gradle/) - Build dependency declared by Homebrew.
- [crystalline](https://pkg.so/ja/brew/crystalline/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-tooling, language-server, lsp.
- [phpantom-lsp](https://pkg.so/ja/brew/phpantom-lsp/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-tooling, language-server, lsp.
- [millet](https://pkg.so/ja/brew/millet/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-tooling, language-server, lsp.
- [lua-language-server](https://pkg.so/ja/brew/lua-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [gopls](https://pkg.so/ja/brew/gopls/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [python-lsp-server](https://pkg.so/ja/brew/python-lsp-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [marksman](https://pkg.so/ja/brew/marksman/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [bash-language-server](https://pkg.so/ja/brew/bash-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [kotlin-lsp](https://pkg.so/ja/cask/kotlin-lsp/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, editor, editor-tooling.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
