# 使用 Homebrew, apk, apt, Nix, pacman 安装 bacon

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bacon
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add bacon
```

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

- Debian apt (92%):

```sh
sudo apt install bacon
```

  证据: Debian stable package indexes: bacon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#bacon
```

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

- pacman (92%):

```sh
sudo pacman -S bacon
```

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

## 软件包事实

- **软件包键:** brew:bacon
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bacon>
- **版本:** 3.23.0
- **来源摘要:** Background rust code check
- **主页:** <https://dystroy.org/bacon/>
- **仓库:** <https://github.com/Canop/bacon>
- **上游文档:** <https://dystroy.org/bacon>
- **许可证:** AGPL-3.0-or-later
- **源码归档:** <https://github.com/Canop/bacon/archive/refs/tags/v3.23.0.tar.gz>
- **最后更新:** 2026-05-19T17:27:33Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- bacon (cli)
- bacon (别名)

## 构建依赖

- pkgconf
- rust

## 安装行为

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

## 版本和新鲜度

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

bacon is a Rust command-line tool for keeping cargo check, clippy, tests, documentation, and custom jobs running in the background while a developer edits code. Its package-manager significance is less about being a foundational compiler tool and more about packaging a common Rust workflow as a small, editor-adjacent daemon.

### 项目历史

The public GitHub repository was created in October 2020 under Canop, and the README describes bacon as a background code checker designed for minimal interaction alongside an editor. Early releases reached 1.x by January 2021, and by 2026 the project was still publishing 3.x releases.

bacon grew around Cargo jobs rather than replacing Cargo: the official README shows default usage for check, clippy, tests, nextest, documentation, and user-defined jobs in bacon.toml. That kept it close to Rust's standard tooling while adding continuous feedback, keyboard switching between jobs, and project-local configuration.

### 采用历史

The project is distributed through crates.io and is packaged in Homebrew, Debian, Alpine, Arch, and Nix according to the batch package metadata. GitHub repository metadata showed several thousand stars by June 2026, consistent with a well-known Rust developer convenience tool rather than a niche one-off.

Its adoption path follows the modern Rust CLI pattern: cargo install for upstream users, then operating-system packages for people who want reproducible workstation setup or package-manager updates.

### 使用方式

Typical usage is to run bacon in a Rust workspace and let it keep a selected job alive. The README examples cover plain bacon, bacon clippy, bacon test, bacon nextest, bacon doc, check-all, and custom job definitions in bacon.toml.

Because bacon watches a project and re-runs Cargo commands, it is most useful during active development and continuous refactoring. It is not a build system; it is a terminal feedback loop around Cargo.

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

Package nerds care about bacon because it is a clean example of a language-ecosystem helper that became worth packaging independently. It wraps common Cargo invocations without becoming a new dependency manager, and its config discovery across Cargo metadata and bacon.toml mirrors how Rust workspaces actually get shared.

### 时间线

- 2020: Canop/bacon GitHub repository created.
- 2021: First GitHub release series visible as v1.1.3 and related 1.x releases.
- 2026: v3.23.0 released, showing continued maintenance.

### Related projects

- Cargo, clippy, rustdoc, and cargo-nextest are the core tools bacon commonly drives.
- watchexec and cargo-watch are adjacent file-watching command runners; bacon is more Rust-job oriented and interactive.

### 来源

- <https://crates.io/crates/bacon>
- <https://dystroy.org/bacon>
- <https://github.com/Canop/bacon>
- <https://github.com/Canop/bacon/releases>
- source_facts.package-manager


## 安全说明

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



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: prefs.toml, $BACON_PREFS, Cargo.toml workspace.metadata.bacon, workspace-root/bacon.toml, workspace-root/.config/bacon.toml, Cargo.toml package.metadata.bacon, package-root/bacon.toml, package-root/.config/bacon.toml, $BACON_CONFIG
## 源数据库详情

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

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

- Debian apt - bacon - 3.12.0-3: normalized package name match | Debian stable package indexes: bacon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | background code checker | https://github.com/Canop/bacon
- Nix - bacon: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/bacon/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - bacon - 3.18.0-r0: normalized package name match | Alpine Linux edge package indexes: bacon from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Background code checker for Rust | https://github.com/Canop/bacon
- pacman - bacon - 3.23.0-1: normalized package name match | Arch Linux sync databases: bacon from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A background rust code checker | https://dystroy.org/bacon


## 相关链接

- [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.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [action-validator](https://www.automicvault.com/zh-hans/pkg/brew/action-validator/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [agent-browser](https://www.automicvault.com/zh-hans/pkg/brew/agent-browser/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [bacon-ls](https://www.automicvault.com/zh-hans/pkg/brew/bacon-ls/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [bindgen](https://www.automicvault.com/zh-hans/pkg/brew/bindgen/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [bob](https://www.automicvault.com/zh-hans/pkg/brew/bob/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [buffrs](https://www.automicvault.com/zh-hans/pkg/brew/buffrs/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [c2rust](https://www.automicvault.com/zh-hans/pkg/brew/c2rust/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [cargo-auditable](https://www.automicvault.com/zh-hans/pkg/brew/cargo-auditable/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [cargo-careful](https://www.automicvault.com/zh-hans/pkg/brew/cargo-careful/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, developer, developer-tools, rust.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
