Install
The script builds Trowl from source and installs it to /usr/local/bin, along with necessary tools and dependencies.
Requirements
Section titled “Requirements”- Debian or Ubuntu on
x86-64orarm64 sudofor system packages and installation.
Installation
Section titled “Installation”curl -fsSL https://raw.githubusercontent.com/corefense-security/trowl/main/install.sh | bash -s -- --ref "$REF"Verify
Section titled “Verify”trowl --versionInstaller options
Section titled “Installer options”| Option | Effect |
|---|---|
--with-llm |
Also install llama-server for the Overview summary |
--prefix DIR |
Install to DIR/bin instead of /usr/local/bin |
--ref REF |
Build a branch or tag instead of main |
--source DIR |
Build from a local checkout instead of cloning |
AI summary
Section titled “AI summary”The installer leaves out LLM scan summary by default. Pass --with-llm to enable it.
See Local AI summary for details.
Scan a Yocto image
Section titled “Scan a Yocto image”trowl scan core-image-minimal-qemux86-64.rootfs.ext4.zst \ --sbom core-image-minimal-qemux86-64.rootfs.spdx.json \ --kernel-config kernel.config \ -o reportSee Yocto integration to run Trowl scan inside BitBake.
Scan a Buildroot image
Section titled “Scan a Buildroot image”From your Buildroot directory:
trowl scan output/images/rootfs.ext4 -o reportFor optional inputs, see SBOM analysis and CVEs and VEX.
See Data fetching and caching.
Open the report
Section titled “Open the report”Open report/index.html directly or serve the report locally:
trowl view report # http://127.0.0.1:8765Press Ctrl+C to stop the viewer.
See Report output for more details.