# Install kotlin-language-server with Homebrew, apk, MacPorts, Nix

Intelligent Kotlin support for any editor/IDE using the Language Server Protocol. Version 1.3.13 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

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

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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

## Package facts

- **Package key:** brew:kotlin-language-server
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/kotlin-language-server>
- **Version:** 1.3.13
- **Source summary:** Intelligent Kotlin support for any editor/IDE using the Language Server Protocol
- **Homepage:** <https://github.com/fwcd/kotlin-language-server>
- **Repository:** <https://github.com/fwcd/kotlin-language-server>
- **Upstream docs:** <https://github.com/fwcd/kotlin-language-server#readme>
- **License:** MIT
- **Source archive:** <https://github.com/fwcd/kotlin-language-server/archive/refs/tags/1.3.13.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- kotlin-language-server (cli)
- kotlin-language-server (alias)

## Dependencies

- openjdk@21

## Build dependencies

- gradle

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.3.13
- Local data: ok
- Upstream repository: https://github.com/fwcd/kotlin-language-server
- Upstream latest detected: 1.3.13 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

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

- **Geiger risk:** blue / medium
- 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 Details

- **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

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [openjdk@21](https://www.automicvault.com/pkg/brew/openjdk-21/) - Runtime dependency declared by Homebrew.
- [gradle](https://www.automicvault.com/pkg/brew/gradle/) - Build dependency declared by Homebrew.
- [crystalline](https://www.automicvault.com/pkg/brew/crystalline/) - Shares av.db curated category or tags: cli, developer-tools, editor-tooling, language-server, lsp.
- [millet](https://www.automicvault.com/pkg/brew/millet/) - Shares av.db curated category or tags: cli, developer-tools, editor-tooling, language-server, lsp.
- [phpantom-lsp](https://www.automicvault.com/pkg/brew/phpantom-lsp/) - Shares av.db curated category or tags: cli, developer-tools, editor-tooling, language-server, lsp.
- [vue-language-server](https://www.automicvault.com/pkg/brew/vue-language-server/) - Shares av.db curated category or tags: cli, developer-tools, editor-tooling, language-server, lsp.
- [ansible-language-server](https://www.automicvault.com/pkg/brew/ansible-language-server/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp.
- [bash-language-server](https://www.automicvault.com/pkg/brew/bash-language-server/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp.
- [clojure-lsp](https://www.automicvault.com/pkg/brew/clojure-lsp/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp.
- [codebook-lsp](https://www.automicvault.com/pkg/brew/codebook-lsp/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp.

## Combined YAML source

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


## Sources

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