Skip to main content
The examples below assume you’ve already stored an API key, as covered in Configuration: scanoss-cli config set api-key SC_abc123def456. Without a stored key, add --api-key "$SCANOSS_API_KEY" to each command instead.

First Scan

Add -v / --verbose to any command for structured debug logging on stderr, the scan flow, each API request (method/URL/status/duration), and fingerprinting. Stdout stays reserved for results, so logs never corrupt --output or piped JSON.

Common Use Cases

Generate an SBOM directly from a scan:
Include extra output layers (dependencies, vulnerabilities, licenses, cryptography, geoprovenance):
Look up a single component without scanning anything, identified by its PURL (Package URL, the pkg:type/namespace/name@version scheme used throughout SCANOSS-CLI):
Resume an interrupted scan:

Next Steps

This page covers the fastest path to a first result. For the full flag reference on every command, see Commands & Arguments.