Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix 安装 ltex-ls

查看 ltex-ls 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ltex-ls

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install ltex-ls

MacPorts ports tree · devel/ltex-ls/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#ltex-ls

nixpkgs package indexes · pkgs/by-name/lt/ltex-ls/package.nix · 来源: api.github.com

概览

软件包摘要

LSP for LanguageTool with support for Latex, Markdown and Others

命令和别名

  • ltex-cli
  • ltex-ls

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ltex-clicli全局可执行文件
ltex-lscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本16.0.0
管理器更新时间2026-07-06
本地数据OK
上游当前
检测到的最新版本16.0.0

https://github.com/valentjn/ltex-ls

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:ltex-ls
版本16.0.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ltex-ls
主页https://valentjn.github.io/ltex/
仓库https://github.com/valentjn/ltex-ls
上游文档https://valentjn.github.io/ltex
许可证MPL-2.0
源码归档https://github.com/valentjn/ltex-ls/archive/refs/tags/16.0.0.tar.gz
最后更新2026-07-06T11:57:48+09:00
Pulseupdated
依赖openjdk@21
构建依赖maven, python@3.14
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameltex-ls
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

ltex-ls

nix profile install nixpkgs#ltex-ls
  • normalized package name match
  • 匹配方式:Ltex Ls
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/lt/ltex-ls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

ltex-ls

sudo port install ltex-ls
  • normalized package name match
  • 匹配方式:Ltex Ls
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/ltex-ls/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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