- ScanCode Workbench is available for Windows, macOS and Linux -
Once downloaded, you'll find the ScanCode Workbench executable inside the
ScanCode Workbench-<os>-<arch>
folder.On Windows 10, for example, the executable will be named ScanCode-Workbench-4.0.1.exe.
Note
Browsers on MacOS add a com.apple.quarantine
extended attribute to downloaded apps.
which prevents you from running the app & shows error dialog: Application Is Damaged and Can’t Be Opened. You Should Move It To The Trash
Delete the attribute using xattr
utility before running the app for first time:
xattr -d com.apple.quarantine ~/Downloads/ScanCode-Workbench-4.0.2-darwin-arm64/ScanCode-Workbench-4.0.2.app
- If you're interested in digging into the code, you can also use ScanCode Workbench by cloning the GitHub repository and building it yourself -- see the :ref:`Contribute/Building<building>` section for details.
ScanCode Workbench v4.x is only compatible with scans from ScanCode v32.x and above that have been run with ScanCode Toolkit.
You would typically create your scan with the following command:
scancode -clipeu <input> --json-pp <output_file>
Note
A list of available ScanCode Toolkit options is available in the ScanCode Toolkit documentation: :doc:`scancode-toolkit:tutorials/how_to_set_what_will_be_detected_in_a_scan`. Also see :doc:`scancode-toolkit:tutorials/how_to_run_a_scan` for more details on running a ScanCode Toolkit scan.
Double-click the ScanCode Workbench executable you downloaded. You'll probably want to maximize the application once it has opened.
Import your JSON scan file and save it as a SQLite file (ScanCode Workbench works with the data in a SQLite database).
- File > Import JSON File (Ctrl + I) ==> opens
Open a JSON File
window. - Select your JSON scan and click Open ==> opens
Save a SQLite Database File
window. - Keep or modify the default SQLite filename and click Save.
- File > Import JSON File (Ctrl + I) ==> opens
You're now looking at your scan data displayed in the Table View -- the Table View itself is on the right, and the Directory Tree (shown in resource level views) is on the left.
You can find additional details in the :ref:`how-to-guides` section below.
We've also provided a set of sample scans that you can review in ScanCode Workbench in order to get a sense of its functionality and the types of information captured by a scan.