# 使用 Homebrew, pacman 安装 codebook-lsp

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install codebook-lsp
```

  证据: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S codebook-lsp
```

  证据: Arch Linux sync databases: codebook-lsp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:codebook-lsp
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/codebook-lsp>
- **版本:** 0.3.42
- **来源摘要:** Code-aware spell checker language server
- **主页:** <https://github.com/blopker/codebook>
- **仓库:** <https://github.com/blopker/codebook>
- **许可证:** MIT
- **源码归档:** <https://github.com/blopker/codebook/archive/refs/tags/v0.3.42.tar.gz>
- **最后更新:** 2026-07-07T03:21:55Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- codebook-lsp (cli)
- codebook-lsp (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.3.42
- 管理器更新时间: 2026-07-07
- 本地数据: OK
- 上游仓库: https://github.com/blopker/codebook
- 检测到的最新版本: v0.3.42 (当前)
## 项目历史与用法

Codebook LSP is a Rust language-server spell checker for code. It combines Tree-sitter parsing with Spellbook-style spell checking so editors can flag words in comments, strings, and definitions without behaving like a prose grammar checker.

### 项目历史

The GitHub repository was created on 2025-01-03, and early releases began in January 2025. The README states that Codebook was originally developed for the Zed editor and exposes a Language Server intended for any editor that supports LSP.

The project emphasizes privacy, low annoyance, and efficiency: no remote spell-checking calls, only flagging words users can control, and low CPU and memory overhead for checking on keystrokes.

### 采用历史

The README documents manual release downloads, `eget`, Arch Linux `pacman`, Cargo, Homebrew, and source builds. The input package facts list Homebrew and pacman, which matches the upstream installation section.

Editor integration is central to adoption. The README describes Codebook as the most popular spell checker for Zed, documents Helix and Neovim setup, and notes that a VS Code extension is still a work in progress.

### 使用方式

Users install the `codebook-lsp` binary and configure it in an editor's LSP client. In Helix it is launched with `codebook-lsp serve`; Neovim can enable it through `nvim-lspconfig`; Zed users generally install the Codebook extension, which manages the LSP binary.

The language server checks code-aware text such as comments, strings, and definitions, splits camelCase and snake_case, and manages dictionaries automatically.

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

Codebook LSP is a small but neat example of the LSP ecosystem expanding beyond compilers and linters into language-aware writing tools. Package maintainers care because editor integrations depend on a native binary being available on PATH, making Homebrew, pacman, Cargo, and release archives part of the editor experience.

### 时间线

- 2025-01-03: GitHub repository created.
- 2025-01-15: Early v0.0.6 release published.
- 2025: README documents Zed, Helix, Neovim, and local VS Code integration paths.
- 2026: Active v0.3.x releases continue through at least v0.3.41.

### Related projects

- The README names Tree-sitter and Spellbook as core building blocks. It also relates Codebook to the Zed extension, Helix, Neovim's LSP configuration, and a work-in-progress VS Code extension.

### 来源

- <https://github.com/blopker/codebook>


## 安全说明

没有找到 codebook-lsp 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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

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

- pacman - codebook-lsp - 0.3.41-1: normalized package name match | Arch Linux sync databases: codebook-lsp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Code-aware spell checker with language server implementation | https://github.com/blopker/codebook


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [gopls](https://pkg.so/zh-hans/brew/gopls/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [python-lsp-server](https://pkg.so/zh-hans/brew/python-lsp-server/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [fish-lsp](https://pkg.so/zh-hans/brew/fish-lsp/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [efm-langserver](https://pkg.so/zh-hans/brew/efm-langserver/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [expert](https://pkg.so/zh-hans/brew/expert/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [ltex-ls-plus](https://pkg.so/zh-hans/brew/ltex-ls-plus/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp, spell-checker.
- [pkl-lsp](https://pkg.so/zh-hans/brew/pkl-lsp/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [jq-lsp](https://pkg.so/zh-hans/brew/jq-lsp/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [typos-lsp](https://pkg.so/zh-hans/brew/typos-lsp/) - Local metadata places this package in an adjacent workflow. Shared terms: checker, cli, developer, developer-tools, editor.
- [actions-languageserver](https://pkg.so/zh-hans/brew/actions-languageserver/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, editor, editor-integration.
- [dhall-lsp-server](https://pkg.so/zh-hans/brew/dhall-lsp-server/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, editor, editor-integration.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
