# 使用 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
- **版本:** 0.30.0
- **来源摘要:** Rust diagnostic provider based on Bacon
- **主页:** <https://github.com/crisidev/bacon-ls>
- **仓库:** <https://github.com/crisidev/bacon-ls>
- **最后更新:** 2026-07-23T18:26:46Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bacon-ls (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.30.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


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
