# Install opensca-cli with Homebrew, scoop, winget

OpenSCA is a supply-chain security tool for security researchers and developers. Version 3.0.11 via Homebrew; verified 2026-07-27. Also installable with scoop: scoop install extras/opensca-cli.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install opensca-cli
```

  Evidence: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install extras/opensca-cli
```

  Evidence: Scoop official bucket manifest trees: bucket/opensca-cli.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id XmirrorSecurity.OpenSCA-cli -e
```

  Evidence: Windows Package Manager source index: XmirrorSecurity.OpenSCA-cli from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:opensca-cli
- **Package manager:** Homebrew
- **Version:** 3.0.11
- **Source summary:** OpenSCA is a supply-chain security tool for security researchers and developers
- **Homepage:** <https://opensca.xmirror.cn>
- **Repository:** <https://github.com/XmirrorSecurity/OpenSCA-cli>
- **Last updated:** 2026-07-27T23:46:52+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- opensca-cli (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.0.11
## Project history and usage

OpenSCA CLI is a Go-based software-composition-analysis command line tool from XmirrorSecurity. It scans project dependency manifests for third-party components, vulnerabilities, license issues, and SBOM-oriented inventory data, putting it in the practical DevSecOps family of tools alongside package scanners and bill-of-material generators.

### Project history

The public GitHub repository was created on December 30, 2021. Its README describes the project as an open source way to govern open source risk, and the English README frames the CLI as a scanner for third-party dependencies, vulnerabilities, and licenses.

The 3.x series moved more configuration into config files and added SaaS synchronization support through project tokens, showing an evolution from a local scanner into a tool that can feed centralized asset and risk management workflows.

### How it is used

Developers run `opensca-cli` against a source tree with `-path`, optionally point it at a config file, and emit reports by suffix. Supported report outputs include JSON, XML, HTML, SQLite, CSV, SARIF, and SBOM formats such as SPDX, CycloneDX, SWID, and DSDX.

The scanner parses common package-manager files across Java, JavaScript, PHP, Ruby, Go, Rust, Erlang, and Python ecosystems. It can be installed from GitHub releases, an install script, Homebrew, source builds, or Docker, which makes it useful in local terminals and CI jobs.

### Why package nerds care

For package metadata work, OpenSCA CLI is interesting because it treats manifests, package-manager lockfiles, vulnerability databases, and SBOM export formats as first-class inputs and outputs. It is a small but concrete example of the post-Log4Shell package-security tooling wave becoming installable as a normal CLI formula.

### Timeline

- 2021-12-30: The GitHub repository for XmirrorSecurity/OpenSCA-cli was created.
- 2025-2026: The v3.0.x release line added and refined report, ignore, cloud database, and SaaS synchronization behavior documented in the README and release metadata.

### Related projects

- OpenSCA CLI sits near SBOM and SCA tools that emit SPDX, CycloneDX, SWID, SARIF, and other interchange formats. The project also links to Docker Hub and editor integrations, indicating a tooling surface beyond the single `opensca-cli` executable.

### Sources

- <https://api.github.com/repos/XmirrorSecurity/OpenSCA-cli>
- <https://api.github.com/repos/XmirrorSecurity/OpenSCA-cli/releases?per_page=5>
- <https://formulae.brew.sh/api/formula/opensca-cli.json>
- <https://formulae.brew.sh/formula/opensca-cli>
- <https://github.com/XmirrorSecurity/OpenSCA-cli>
- <https://raw.githubusercontent.com/XmirrorSecurity/OpenSCA-cli/master/.github/README.md>


## Security Notes

No matching local secret-handling manifest was found for opensca-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Other Package-Manager Records

- Scoop - extras/opensca-cli: normalized package name match | Scoop official bucket manifest trees: bucket/opensca-cli.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - XmirrorSecurity.OpenSCA-cli: normalized package name match | Windows Package Manager source index: XmirrorSecurity.OpenSCA-cli from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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