ctags-lsp for Mac
Note: This is documentation for the development version! The docs for the last release version are here.
ctags-lsp — overview
Note: This is documentation for the development version! The docs for the last release version are here.
CTags Language Server
A Language Server Protocol (LSP) implementation using universal-ctags as backend, supporting 100+ languages.
This won't replace your dedicated language server, and it doesn't try to. The goal is to have a "better than nothing" language server that's trivial to setup for any language.
What it does
On startup, ctags-lsp runs universal-ctags to index your workspace and keeps that index in memory to provide code completion, go-to-definition, and document/workspace symbols.
It never creates or updates tagfiles.
Installation
brew will automatically install dependencies for you.
When installing with mise or go, you must install universal-ctags yourself (ctags installation).
Use with your editor
Any editor with a built-in LSP client should work. Working examples are below.
Neovim
Helix
Add this to ~/.config/helix/languages.toml:
Advanced
Speeding up startup
Most projects are completely indexed in less than 1s. If startup is slow for your workspace: Limit which languages are being indexed with --languages. The option is passed through to ctags unchanged; for available options see the universal-ctags manual on the topic. Leverage an existing tagfile, so ctags-lsp doesn’t have to run ctags on startup, with --tagfile.
Tagfiles
You can use an existing tagfile with --tagfile=. When set, the server parses the tagfile and skips the workspace scan. This is only intended as a fallback option to possibly improve performance, and should not be used otherwise.
ctags-lsp will never write or update tagfiles.
For obvious reasons, --languages has no effect when using a tagfile.
CLI options
Details
使用 universal-ctags 作为后端的 LSP 实现
How to install ctags-lsp
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2026-01-25; current version v0.11.0, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| v0.11.0 | 2026-01-25 | Stable | 997 KB | Download | Download | Download |
| v0.10.2 | 2026-01-08 | Stable | 958 KB | Download | Download | Download |
| v0.10.1 | 2026-01-06 | Stable | 957 KB | Download | Download | Download |
| v0.10.0 | 2026-01-03 | Stable | 941 KB | Download | Download | Download |
| v0.9.1 | 2025-12-01 | Stable | 935 KB | Download | Download | Download |
| v0.9.0 | 2025-11-20 | Stable | 935 KB | Download | Download | Download |
| v0.8.1 | 2025-08-15 | Stable | 933 KB | Download | Download | Download |
| v0.8.0 | 2025-08-15 | Stable | 932 KB | Download | Download | Download |
| v0.7.0 | 2025-06-30 | Stable | 931 KB | Download | Download | Download |
| v0.6.1 | 2024-12-22 | Stable | 900 KB | Download | Download | Download |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Prebuilt bottle platforms
Official Homebrew bottles cover:
- Apple silicon · latest macOS
- Apple silicon · macOS 26 Tahoe
- Apple silicon · macOS 15 Sequoia
- Apple silicon · macOS 14 Sonoma
- Intel · macOS 14 Sonoma
- Linux · ARM64
- Linux · x86_64
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| ctags-lsp | v0.11.0 | MIT | CLI | 1 |
| djl-serving | v0.36.0 | Apache-2.0 | CLI | 0 |
| iguana | 1.2.0 | Apache-2.0 | CLI | 4 |
| libdom | 0.4.2 | MIT | CLI | 1 |
Similar apps: Command-line Tools
djl-serving
DJL Serving is a high performance universal stand-alone model serving solution powered by DJL.iguana
A Universal Serialization Engine Based on compile-time Reflection #libdom
libdom is an implementation of the W3C DOM specification, provided as a command-line tool.libucl
UCL - Universal Configuration Languageopenssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratioCategories: Command-line Tools