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:pkg:type/namespace/name@version scheme used throughout SCANOSS-CLI):