# 使用 Homebrew 安装 bacon-ls

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

## 安装

```sh
sudo av install brew:bacon-ls
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bacon-ls
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:bacon-ls
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bacon-ls>
- **版本:** 0.29.0
- **来源摘要:** Rust diagnostic provider based on Bacon
- **主页:** <https://github.com/crisidev/bacon-ls>
- **仓库:** <https://github.com/crisidev/bacon-ls>
- **上游文档:** <https://github.com/crisidev/bacon-ls#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/crisidev/bacon-ls/archive/refs/tags/0.29.0.tar.gz>
- **最后更新:** 2026-05-11T19:24:01-04:00
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- bacon-ls (cli)
- bacon-ls (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

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

bacon-ls is a Rust language-server companion that publishes diagnostics from Bacon or directly from cargo. It is designed to supplement rust-analyzer, not replace it.

### 项目历史

The GitHub repository was created in May 2024. Its README frames the project around a specific pain point: rust-analyzer diagnostics can be slow on large Rust codebases, so bacon-ls exposes LSP diagnostic capabilities backed by Bacon or cargo.

By 2025-2026 the project had a steady GitHub release train from 0.6.0 to 0.29.0. The README documents an important evolution: the cargo backend became available in 0.23.0 and became the default in 0.26.0, making bacon-ls useful even without a separate background bacon process.

### 采用历史

Adoption is concentrated in editor and Rust-tooling circles. The README documents VS Code extension distribution through VSCE and Open VSX, Mason.nvim installation, manual cargo install, and Nix flakes. Homebrew packaging adds another general-purpose install path.

### 使用方式

Users install bacon-ls alongside Rust tooling and configure an editor LSP client. It can publish diagnostics on save, open, close, rename, and manual triggers; run cargo check or clippy directly; or read Bacon's exported diagnostics file when Bacon is already running.

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

bacon-ls is notable because it packages a focused LSP surface around diagnostics only. For Rust developers with large workspaces, it is a small composable alternative to making rust-analyzer do every job, and its packaging across cargo, editor registries, Nix, Mason, and Homebrew reflects modern developer-tool distribution.

### 时间线

- 2024: GitHub repository created for crisidev/bacon-ls.
- 2025: 0.6.0 published as the earliest GitHub release listed by the repository.
- 2025: 0.23.0 introduced the cargo backend according to the README.
- 2025: 0.26.0 made the cargo backend the default according to the README.
- 2026: 0.29.0 published in GitHub releases.

### Related projects

- The README explicitly relates bacon-ls to Bacon, rust-analyzer, cargo check, cargo clippy, the Language Server Protocol, VS Code, Mason.nvim, Neovim, Coc.nvim, Helix, Crates.io, and Nix flakes.

### 来源

- <https://api.github.com/repos/crisidev/bacon-ls>
- <https://api.github.com/repos/crisidev/bacon-ls/releases>
- <https://github.com/crisidev/bacon-ls#readme>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** bacon-ls
- **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


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [fish-lsp](https://www.automicvault.com/zh-hans/pkg/brew/fish-lsp/) - Shares av.db curated category or tags: cli, developer-tools, diagnostics, language-server.
- [harper](https://www.automicvault.com/zh-hans/pkg/brew/harper/) - Shares av.db curated category or tags: cli, developer-tools, language-server, rust.
- [millet](https://www.automicvault.com/zh-hans/pkg/brew/millet/) - Shares av.db curated category or tags: cli, developer-tools, language-server, rust.
- [phpantom-lsp](https://www.automicvault.com/zh-hans/pkg/brew/phpantom-lsp/) - Shares av.db curated category or tags: cli, developer-tools, language-server, rust.
- [pylyzer](https://www.automicvault.com/zh-hans/pkg/brew/pylyzer/) - Shares av.db curated category or tags: cli, developer-tools, language-server, rust.
- [ty](https://www.automicvault.com/zh-hans/pkg/brew/ty/) - Shares av.db curated category or tags: cli, developer-tools, language-server, rust.
- [zuban](https://www.automicvault.com/zh-hans/pkg/brew/zuban/) - Shares av.db curated category or tags: cli, developer-tools, language-server, rust.
- [action-validator](https://www.automicvault.com/zh-hans/pkg/brew/action-validator/) - Shares av.db curated category or tags: cli, developer-tools, rust.

## Combined YAML source

View the package source record on GitHub. [combined/bacon-ls.yml](https://github.com/automic-vault/db/blob/main/combined/bacon-ls.yml)


## 来源

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