# cargo-cyclonedx を Homebrew, apk, dnf, Nix, pacman でインストール

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

## インストール

```sh
sudo av install brew:cargo-cyclonedx
```

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

### macOS

- Homebrew (100%):

```sh
brew install cargo-cyclonedx
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add cargo-cyclonedx
```

  証拠: Alpine Linux edge package indexes: cargo-cyclonedx from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install cargo-cyclonedx
```

  証拠: Fedora Rawhide package metadata: cargo-cyclonedx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#cargo-cyclonedx
```

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

- pacman (92%):

```sh
sudo pacman -S cargo-cyclonedx
```

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

## パッケージ情報

- **パッケージキー:** brew:cargo-cyclonedx
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.5.9
- **ソース概要:** Creates CycloneDX Software Bill of Materials (SBOM) from Rust (Cargo) projects
- **ホームページ:** <https://cyclonedx.org/>
- **リポジトリ:** <https://github.com/CycloneDX/cyclonedx-rust-cargo>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cargo-cyclonedx (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

cargo-cyclonedx is the Rust Cargo plugin from the CycloneDX project. It generates CycloneDX Software Bill of Materials files for Cargo projects, using Cargo metadata and lockfile information to describe Rust dependencies.

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

The cyclonedx-rust-cargo repository was created in 2019 and contains both the cyclonedx-bom Rust library and the cargo-cyclonedx application. The cargo-cyclonedx crate was published later as the command-line plugin for Cargo users.

The project belongs to the OWASP CycloneDX ecosystem. The CycloneDX site describes CycloneDX as a full-stack Bill of Materials standard for cyber-risk reduction, while the Rust plugin adapts that standard to Cargo workspaces.

### 採用の歴史

cargo-cyclonedx adoption tracks the broader rise of SBOM requirements in software supply-chain security. It is packaged across multiple operating-system package managers and crates.io metadata shows more than one million downloads by June 2026.

Its value increased as organizations began asking Rust projects for SBOMs that can be consumed by security, compliance, and asset-management tooling.

### 使われ方

The documented command is `cargo cyclonedx`, run inside a Rust project containing Cargo.toml. By default it writes BOM files adjacent to Cargo.toml files in the workspace.

The plugin can emit XML or JSON, choose CycloneDX spec versions, select targets and feature sets, and describe crates, binaries, or all Cargo targets. The README notes that it uses both Cargo.lock and `cargo metadata`, which gives it more build-configuration context than lockfile-only scanners.

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

cargo-cyclonedx is important because it turns Cargo's dependency graph into a standardized interchange artifact. Package managers and security systems can consume the resulting BOM without knowing Rust internals.

It also illustrates a practical distinction in SBOM generation: registry lockfiles are not enough when features, targets, binaries, and package metadata affect what a Rust build actually contains.

### タイムライン

- 2019: cyclonedx-rust-cargo repository created.
- 2021: crates.io records the cargo-cyclonedx crate publication.
- 2021-2026: Project continues as the Rust Cargo plugin within the CycloneDX tool ecosystem.
- 2026: crates.io metadata shows more than one million downloads.

### Related projects

- cyclonedx-bom is the Rust library in the same repository used to read and write CycloneDX BOM data.
- CycloneDX is the OWASP BOM standard that defines the output format.
- Cargo metadata is the upstream Cargo command whose output helps the plugin model Rust projects more accurately.

### ソース

- <https://api.github.com/repos/CycloneDX/cyclonedx-rust-cargo>
- <https://crates.io/api/v1/crates/cargo-cyclonedx>
- <https://cyclonedx.org/>
- <https://github.com/CycloneDX/cyclonedx-rust-cargo>
- <https://github.com/CycloneDX/cyclonedx-rust-cargo/tree/main/cargo-cyclonedx#readme>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

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

- Nix - cargo-cyclonedx: normalized package name match | nixpkgs package indexes: pkgs/by-name/ca/cargo-cyclonedx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - cargo-cyclonedx - 0.5.9-r0: normalized package name match | Alpine Linux edge package indexes: cargo-cyclonedx from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Creates CycloneDX Software Bill of Materials (SBOM) from Rust (Cargo) projects | https://github.com/CycloneDX/cyclonedx-rust-cargo
- dnf - cargo-cyclonedx - 0.5.9-2.fc45: normalized package name match | Fedora Rawhide package metadata: cargo-cyclonedx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | CycloneDX Software Bill of Materials (SBOM) for Rust Crates | https://crates.io/crates/cargo-cyclonedx
- pacman - cargo-cyclonedx - 0.5.9-1: normalized package name match | Arch Linux sync databases: cargo-cyclonedx from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Creates CycloneDX Software Bill of Materials (SBOM) from Rust (Cargo) projects | https://github.com/CycloneDX/cyclonedx-rust-cargo


## 関連リンク

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

## Combined YAML source

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