# Install docker-compose-langserver with Homebrew

Language service for Docker Compose documents. Version 1.0.0 via Homebrew; verified 2026-07-31.

## Install

```sh
sudo av install brew:docker-compose-langserver
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install docker-compose-langserver
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:docker-compose-langserver
- **Package manager:** Homebrew
- **Version:** 1.0.0
- **Source summary:** Language service for Docker Compose documents
- **Homepage:** <https://github.com/microsoft/vscode-containers>
- **Last updated:** 2026-07-31T14:28:26Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- docker-compose-langserver (alias)

## Install behavior

- Bottle: not available

## Freshness

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

Docker Compose Language Service is Microsoft's Language Server Protocol implementation for Docker Compose documents. The README says it is shipped in the Visual Studio Code Container Tools extension and provides completions, signatures, diagnostics, formatting, hover hints, and Docker-specific image hyperlinks.

### Project history

The changelog shows the language service beginning with a 0.0.1-alpha release in September 2021, focused on Compose YAML editing features such as Docker Hub links, hover information, signature help, completions, diagnostics, and formatting. Later releases added more completion coverage, an executable language-server entry point, alternate YAML language service integration, CodeLens support, and package entry points for client and VS Code use.

### Adoption history

The primary adoption route is editor integration through Microsoft's Container Tools extension for VS Code, with the npm package and docker-compose-langserver executable making it usable by other LSP clients. Homebrew packaging turns that language-server executable into a simple install for Vim, Neovim, Emacs, and other editor setups that prefer system package managers.

### How it is used

The package is used by editors and LSP clients to understand Compose files, especially Compose file version 3 style documents. It supplies YAML-aware editing assistance rather than running containers itself, and the README notes that VS Code-specific telemetry events can be ignored by non-VS Code clients.

### Why package nerds care

This package matters to package nerds because it exposes an editor language service as a standalone CLI executable. That lets users assemble their own editor toolchains with Homebrew and LSP configuration instead of installing a full IDE extension stack.

### Timeline

- 2021: 0.0.1-alpha initial release adds Compose editing features.
- 2023: 0.1.3 adds an executable to launch the language server.
- 2024: 0.3.0 adds CodeLenses for starting Compose services from documents.
- 2026: 0.5.0 adds client and VS Code entry points plus an ESM build.

### Related projects

- The project is related to Docker Compose, the Compose specification, Microsoft's VS Code Container Tools extension, YAML language services, and generic Language Server Protocol clients.

### Sources

- <https://github.com/microsoft/compose-language-service#readme>
- <https://github.com/microsoft/compose-language-service/blob/main/CHANGELOG.md>
- <https://github.com/microsoft/compose-language-service/blob/main/package.json>
- <https://formulae.brew.sh/formula/docker-compose-langserver>


## Security Notes

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

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


## Combined YAML source

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


## Sources

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