# cargo-llvm-cov を Homebrew, Nix, pacman でインストール

cargo-llvm-cov のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:cargo-llvm-cov
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install cargo-llvm-cov
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cargo-llvm-cov
```

  証拠: nixpkgs package indexes: pkgs/by-name/ca/cargo-llvm-cov/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S cargo-llvm-cov
```

  証拠: Arch Linux sync databases: cargo-llvm-cov from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:cargo-llvm-cov
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.8.7
- **ソース概要:** Cargo subcommand to easily use LLVM source-based code coverage
- **ホームページ:** <https://github.com/taiki-e/cargo-llvm-cov>
- **リポジトリ:** <https://github.com/taiki-e/cargo-llvm-cov>
- **最終更新:** 2026-05-13T03:04:54Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cargo-llvm-cov (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.8.7
## プロジェクトの歴史と使われ方

cargo-llvm-cov is a Cargo subcommand for LLVM source-based coverage in Rust projects. Its README says it wraps rustc -C instrument-coverage and supports cargo test, cargo run, and cargo nextest flows.

### プロジェクトの歴史

The crate was first published on crates.io in January 2021 as version 0.0.0. Its official README emphasizes precise line, region, and optional branch coverage while avoiding extra layers between rustc, cargo, and llvm-tools.

### 採用の歴史

The tool became part of common Rust CI coverage workflows because it can emit text, HTML, JSON, lcov, Cobertura, and Codecov-compatible reports. It is packaged by Homebrew, Nix, and Arch according to the input package-manager facts; crates.io reported 6,323,980 downloads when checked on 2026-06-30.

### 使われ方

Typical usage is cargo llvm-cov for test coverage, cargo llvm-cov --html or --open for local reports, cargo llvm-cov --lcov for CI uploads, and cargo llvm-cov nextest when running tests through cargo-nextest.

### パッケージ好きにとっての重要性

It matters to Rust package maintainers because it standardizes coverage collection around the compiler's LLVM instrumentation rather than a separate test harness, making coverage easier to reproduce locally and in package CI.

### タイムライン

- 2021: First crates.io release 0.0.0.
- 2026: Crates.io latest version 0.8.7 and Homebrew stable version 0.8.7.

### Related projects

- Related projects include rustc's -C instrument-coverage support, llvm-tools, cargo-nextest, Codecov, and Cobertura-compatible coverage consumers.

### ソース

- <https://api.github.com/repos/taiki-e/cargo-llvm-cov>
- <https://github.com/taiki-e/cargo-llvm-cov>
- <https://github.com/taiki-e/cargo-llvm-cov/tree/main/docs>
- <https://github.com/taiki-e/cargo-llvm-cov#readme>
- <https://crates.io/api/v1/crates/cargo-llvm-cov>
- <https://formulae.brew.sh/api/formula/cargo-llvm-cov.json>


## セキュリティノート

cargo-llvm-cov に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


## 他のパッケージマネージャ記録

- Nix - cargo-llvm-cov: normalized package name match | nixpkgs package indexes: pkgs/by-name/ca/cargo-llvm-cov/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - cargo-llvm-cov - 0.8.7-1: normalized package name match | Arch Linux sync databases: cargo-llvm-cov from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Cargo subcommand to easily use LLVM source-based code coverage (-Z instrument-coverage). | https://github.com/taiki-e/cargo-llvm-cov


## 関連リンク

- [cargo-llvm-cov](https://pkg.so/ja/pkg/cargo/cargo-llvm-cov/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/cargo-llvm-cov.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cargo-llvm-cov.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
