# cargo-cyclonedx mit Homebrew, apk, dnf, Nix, pacman installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cargo-cyclonedx in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

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

  Evidenz: local Homebrew formula metadata

### Linux

- apk (92%):

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

  Evidenz: 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
```

  Evidenz: 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
```

  Evidenz: 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
```

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

## Paketfakten

- **Paketschlüssel:** brew:cargo-cyclonedx
- **Paketmanager:** Homebrew
- **Version:** 0.5.9
- **Quellzusammenfassung:** Creates CycloneDX Software Bill of Materials (SBOM) from Rust (Cargo) projects
- **Homepage:** <https://cyclonedx.org/>
- **Repository:** <https://github.com/CycloneDX/cyclonedx-rust-cargo>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- cargo-cyclonedx (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.5.9
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <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>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- 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


## Verwandte Links

- [cargo-cyclonedx](https://pkg.so/de/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)


## Quellen

- 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
