Environment Variables
Set your API key as an environment variable to use it across all SCANOSS CLI tools: macOS / Linux:SCANOSS-PY
To use the SCANOSS Python CLI, install it and run a scan. Basic scan (no API key required):SCANOSS-JS
To use the SCANOSS JavaScript CLI, install it and run a scan. Basic scan (no API key required):SCANOSS-CC
SCANOSS Code Compare requires configuration with an API key. Configure with API key via environment variable:~/.scanoss/scanoss-cc-settings.json (macOS/Linux) or %USERPROFILE%\.scanoss\scanoss-cc-settings.json (Windows). You can check this file to confirm your API key was saved correctly:
SBOM Workbench
The SBOM Workbench can be easily configured to use your API key:- Navigate to File → Settings
- Create a new Knowledge Base API Key by clicking the ’+’ button
- In the new form, enter your credentials:
- Base URL:
https://api.scanoss.com - API Key:
<your_api_key>
- Base URL:
