# 使用 Homebrew, apk, Nix 安装 ctags-lsp

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

## 安装

```sh
sudo av install brew:ctags-lsp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ctags-lsp
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add ctags-lsp
```

  证据: Alpine Linux edge package indexes: ctags-lsp from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#ctags-lsp
```

  证据: nixpkgs package indexes: pkgs/by-name/ct/ctags-lsp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:ctags-lsp
- **软件包管理器:** Homebrew
- **版本:** 0.11.0
- **来源摘要:** LSP implementation using universal-ctags as backend
- **主页:** <https://github.com/netmute/ctags-lsp>
- **仓库:** <https://github.com/netmute/ctags-lsp>
- **最后更新:** 2026-07-27T22:04:05+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ctags-lsp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.11.0
## 项目历史与用法

ctags-lsp is a Language Server Protocol implementation that uses universal-ctags as its indexing backend. It is meant to provide a minimal, broadly available language-server experience for projects that do not have a dedicated language server configured.

### 项目历史

The visible GitHub release line begins in late 2024. The README describes the design as intentionally modest: on startup the server runs universal-ctags, keeps the resulting index in memory, and serves completion, go-to-definition, and symbol requests without creating or updating tag files.

### 采用历史

The official README documents Homebrew installation with dependencies handled by brew, plus mise and Go installation paths where the user installs universal-ctags separately. The input package facts also list apk and Nix packages, suggesting packaging interest beyond macOS.

### 使用方式

ctags-lsp is used from editors with LSP clients, with official examples for Neovim and Helix. Advanced options focus on startup control: choosing the ctags binary, passing language filters through to ctags, using a preexisting tagfile, and setting worker jobs.

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

The package is significant as a bridge between old tag-file tooling and modern editor LSP plumbing. It lets package managers compose universal-ctags with an LSP executable rather than requiring language-specific servers for every file type.

### 时间线

- 2024: First visible GitHub releases in the v0.2.x-v0.4.x series.
- 2024: README documented Homebrew, mise, and Go installation methods.
- 2026: Development README identifies v0.11.0 as the last release documentation line.

### Related projects

- ctags-lsp depends on universal-ctags for indexing and is historically related to editor tag navigation, but its user-facing protocol is LSP rather than direct editor tag-file lookup.

### 来源

- <https://github.com/netmute/ctags-lsp#readme>
- <https://github.com/netmute/ctags-lsp/releases>
- <https://github.com/universal-ctags/ctags>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - ctags-lsp: normalized package name match | nixpkgs package indexes: pkgs/by-name/ct/ctags-lsp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - ctags-lsp - 0.11.0-r5: normalized package name match | Alpine Linux edge package indexes: ctags-lsp from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | LSP implementation using universal-ctags as backend | https://github.com/netmute/ctags-lsp/
- apk - ctags-lsp-doc - 0.11.0-r5: normalized package name match | Alpine Linux edge package indexes: ctags-lsp-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | LSP implementation using universal-ctags as backend (documentation) | https://github.com/netmute/ctags-lsp/


## Combined YAML source

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


## 来源

- 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
