# Install cmake-language-server with Homebrew, MacPorts, Nix

Language Server for CMake. Version 0.1.11 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#cmake-language-server.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cmake-language-server
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

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

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

### Linux

- Nix (92%):

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

  Evidence: nixpkgs package indexes: pkgs/by-name/cm/cmake-language-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:cmake-language-server
- **Package manager:** Homebrew
- **Version:** 0.1.11
- **Source summary:** Language Server for CMake
- **Homepage:** <https://github.com/regen100/cmake-language-server>
- **Repository:** <https://github.com/regen100/cmake-language-server>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- cmake-language-server (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.1.11
## Project history and usage

cmake-language-server is a Python language server for CMake files. Its own README calls it an alpha-stage CMake LSP implementation with completion, hover documentation, and formatting support through cmake-format.

### Project history

The GitHub repository was created in November 2019 and the PyPI metadata points back to the same repository. The project has remained small and focused, with GitHub releases visible from v0.1.7 in 2023 through v0.1.11 in February 2025.

### Adoption history

The README documents installation with pip and tested Neovim client setups for coc.nvim and vim-lsp. The batch input also lists Homebrew, MacPorts, and Nix package names, indicating package-manager distribution beyond Python packaging.

### How it is used

Editors run the cmake-language-server executable as an LSP server for CMake filetypes. The README's configuration examples pass a buildDirectory initialization option; the server uses CMake's file API under <buildDirectory>/.cmake/api after the user has configured a build tree with cmake.

### Why package nerds care

Its significance is mostly practical: it packages CMake editor intelligence as a standalone LSP binary that package managers can expose consistently. That matters for users wiring Neovim, coc.nvim, vim-lsp, or other LSP clients without vendoring editor-specific plugins.

### Timeline

- 2019: GitHub repository created and first PyPI distribution published.
- 2023: v0.1.7 appears in GitHub releases.
- 2025: v0.1.11 is published as the latest GitHub release checked.

### Related projects

- The project depends conceptually on CMake, the CMake file API, LSP clients, and cmake-format. The README specifically names coc.nvim and vim-lsp as tested Neovim clients.

### Sources

- <https://github.com/regen100/cmake-language-server#readme>
- <https://api.github.com/repos/regen100/cmake-language-server>
- <https://api.github.com/repos/regen100/cmake-language-server/releases>
- <https://pypi.org/pypi/cmake-language-server/json>


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Other Package-Manager Records

- Nix - cmake-language-server: normalized package name match | nixpkgs package indexes: pkgs/by-name/cm/cmake-language-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - cmake-language-server: normalized package name match | MacPorts ports tree: devel/cmake-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/cmake-language-server.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cmake-language-server.yml)


## Sources

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