# Install ltex-ls with Homebrew, MacPorts, Nix

LSP for LanguageTool with support for Latex, Markdown and Others. Version 16.0.0 via Homebrew; verified 2026-07-06.

## Install

```sh
sudo av install brew:ltex-ls
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ltex-ls
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ltex-ls
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ltex-ls
```

  Evidence: nixpkgs package indexes: pkgs/by-name/lt/ltex-ls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:ltex-ls
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ltex-ls>
- **Version:** 16.0.0
- **Source summary:** LSP for LanguageTool with support for Latex, Markdown and Others
- **Homepage:** <https://valentjn.github.io/ltex/>
- **Repository:** <https://github.com/valentjn/ltex-ls>
- **Upstream docs:** <https://valentjn.github.io/ltex>
- **License:** MPL-2.0
- **Source archive:** <https://github.com/valentjn/ltex-ls/archive/refs/tags/16.0.0.tar.gz>
- **Last updated:** 2026-07-06T11:57:48+09:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- ltex-cli (cli)
- ltex-ls (cli)
- ltex-cli (alias)
- ltex-ls (alias)

## Dependencies

- openjdk@21

## Build dependencies

- maven
- python@3.14

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 16.0.0
- Package-manager updated: 2026-07-06
- Local data: ok
- Upstream repository: https://github.com/valentjn/ltex-ls
- Upstream latest detected: 16.0.0 (current)
## Project history and usage

LTeX LS is the original LTeX language server, using LanguageTool to provide offline grammar and spelling diagnostics for LaTeX, Markdown, and related markup through LSP and command-line modes.

### Project history

The official LTeX site describes LTeX as offline grammar checking for markup languages using LanguageTool, usable as a standalone command-line tool, an LSP language server, or through editor extensions. The repository README adds that LTeX LS implements the Language Server Protocol and can also check files or directories directly from the command line.

The project grew out of Adam Voss's abandoned LanguageTool for Visual Studio Code extension. Over time it became a broader markup-aware checker for LaTeX, Markdown, Org, reStructuredText, R Sweave, XHTML, and later formats such as Git commit messages, Quarto, and R Markdown.

### Adoption history

The original LTeX LS has strong adoption signals: GitHub shows about 930 stars, 33 forks, 1,224 commits, and a substantial issues and pull request history. The supplied package-manager facts show Homebrew, MacPorts, and Nix packaging, making it a cross-platform package for editor and CLI grammar workflows.

The repository was archived by its owner on Apr 12, 2026. Before that, GitHub releases show 16.0.0 as the latest release, with release notes updating LanguageTool to 6.0 and adding support for Git commit messages, Quarto, R Markdown, and other parser improvements. Its maintained successor is LTeX+ LS.

### How it is used

The normal usage path is to run LTeX LS behind an editor language client, with the VS Code LTeX extension named as the reference client. The README also supports a package-manager-friendly CLI mode in which paths to files or directories are supplied and diagnostics are printed to standard output.

### Why package nerds care

LTeX LS matters because it brought LanguageTool into the package-manager and editor-LSP ecosystem as a self-contained binary distribution. It turned grammar checking for TeX and Markdown from an editor-specific extension concern into a reusable language-server package that could be installed by Homebrew, MacPorts, Nix, and editor integrations.

Its archival and replacement by LTeX+ LS are also package-history relevant: users, formulae, and distributions had to distinguish the stable but archived original from the active maintained fork.

### Timeline

- Pre-LTeX: Adam Voss's LanguageTool VS Code extension is abandoned and later becomes the predecessor named by LTeX docs.
- 2020s: LTeX LS develops as an LSP server and CLI around LanguageTool for markup documents.
- 2023: Release 16.0.0 updates LanguageTool to 6.0 and adds Git commit message, Quarto, and R Markdown support.
- 2026: GitHub marks valentjn/ltex-ls archived on Apr 12, 2026.

### Related projects

- LanguageTool is the grammar and spelling engine.
- vscode-ltex is the reference Visual Studio Code language client.
- LTeX+ LS is the maintained successor/fork.
- languagetool-languageserver and Adam Voss's LanguageTool VS Code extension are earlier lineage projects named by official docs.

### Sources

- <https://github.com/valentjn/ltex-ls>
- <https://github.com/valentjn/ltex-ls/releases>
- <https://valentjn.github.io/ltex/>
- source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ltex-ls
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - ltex-ls: normalized package name match | nixpkgs package indexes: pkgs/by-name/lt/ltex-ls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - ltex-ls: normalized package name match | MacPorts ports tree: devel/ltex-ls/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.
- [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.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [openjdk@21](https://www.automicvault.com/pkg/brew/openjdk-21/) - Runtime dependency declared by Homebrew.
- [maven](https://www.automicvault.com/pkg/brew/maven/) - Build dependency declared by Homebrew.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Build dependency declared by Homebrew.
- [ltex-ls-plus](https://www.automicvault.com/pkg/brew/ltex-ls-plus/) - Shares av.db curated category or tags: cli, developer-tools, grammar-checker, language-server, languagetool.
- [codebook-lsp](https://www.automicvault.com/pkg/brew/codebook-lsp/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp, spell-checker.
- [typos-lsp](https://www.automicvault.com/pkg/brew/typos-lsp/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp, spell-checker.
- [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.
- [crystalline](https://www.automicvault.com/pkg/brew/crystalline/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp.
- [ctags-lsp](https://www.automicvault.com/pkg/brew/ctags-lsp/) - Shares av.db curated category or tags: cli, developer-tools, language-server, lsp.
- [kotlin-language-server](https://www.automicvault.com/pkg/brew/kotlin-language-server/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, language, language-server.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
