# 使用 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
- **版本:** 0.3.42
- **来源摘要:** Code-aware spell checker language server
- **主页:** <https://github.com/blopker/codebook>
- **仓库:** <https://github.com/blopker/codebook>
- **最后更新:** 2026-07-07T03:21:55Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- codebook-lsp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
