# 使用 Homebrew, Nix, winget 安装 cyclonedx-cli

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cyclonedx-cli
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

### Windows

- winget (92%):

```sh
winget install --id CycloneDX.CLI -e
```

  证据: Windows Package Manager source index: CycloneDX.CLI from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:cyclonedx-cli
- **软件包管理器:** Homebrew
- **版本:** 0.33.1
- **来源摘要:** Tool for analysis and manipulation of CycloneDX SBOMs
- **主页:** <https://cyclonedx.org/>
- **仓库:** <https://github.com/CycloneDX/cyclonedx-cli>
- **最后更新:** 2026-07-23T20:40:19Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cyclonedx (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.33.1
## 项目历史与用法

CycloneDX CLI is the general-purpose command-line tool for analyzing, modifying, converting, diffing, merging, signing, verifying, and validating CycloneDX BOM files.

### 项目历史

The CycloneDX standard began as an OWASP security-focused Bill of Materials format in 2018, then expanded through versions 1.1 through 1.7 into pedigree, services, composition, VEX/VDR, AI transparency, cryptographic assets, attestation, and citation support. The cyclonedx-cli repository was created in October 2020 as a dedicated automation tool around those BOM documents.

### 采用历史

CycloneDX's official site describes it as an international standard, with v1.6 ratified as ECMA-424 in June 2024, and its tool center lists hundreds of supporting tools. Within that ecosystem, cyclonedx-cli fills the package-manager-friendly role of a format workbench rather than a language-specific generator.

### 使用方式

The CLI is commonly used after an SBOM has already been produced: converting between XML, JSON, Protobuf, CSV, and SPDX JSON, validating against schema versions, merging component BOMs, diffing releases, and signing or verifying BOM artifacts in CI pipelines.

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

For maintainers, cyclonedx-cli matters because it gives distributions and build systems a single executable for SBOM hygiene tasks that otherwise require language-specific libraries or custom scripts.

### 时间线

- 2018: CycloneDX v1.0 introduced a general-purpose security-focused BOM standard.
- 2020: cyclonedx-cli repository and early releases appeared.
- 2024: CycloneDX v1.6 was ratified as ECMA-424, 1st Edition.
- 2025: CycloneDX v1.7 added citation, patent, and expanded transparency support.

### Related projects

- The CLI sits beside language-specific generators such as cyclonedx-gomod and cyclonedx-python, and interoperates with SPDX through its conversion command.

### 来源

- <https://cyclonedx.org/about/history/>
- <https://cyclonedx.org/docs/latest/>
- <https://cyclonedx.org/tool-center/>
- <https://github.com/CycloneDX/cyclonedx-cli/blob/main/README.md>
- <https://api.github.com/repos/CycloneDX/cyclonedx-cli>


## 安全说明

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


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

- Nix - cyclonedx-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/cy/cyclonedx-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - CycloneDX.CLI: normalized package name match | Windows Package Manager source index: CycloneDX.CLI from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/cyclonedx-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cyclonedx-cli.yml)


## 来源

- pkg.so package database
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
