# Installer cargo-cyclonedx avec Homebrew, apk, dnf, Nix, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cargo-cyclonedx pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

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

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

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

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

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

## Faits du paquet

- **Clé du paquet:** brew:cargo-cyclonedx
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.5.9
- **Résumé source:** Creates CycloneDX Software Bill of Materials (SBOM) from Rust (Cargo) projects
- **Page d'accueil:** <https://cyclonedx.org/>
- **Dépôt:** <https://github.com/CycloneDX/cyclonedx-rust-cargo>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- cargo-cyclonedx (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.5.9
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- 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


## Liens liés

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


## Sources

- 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
