Skip to content

Install

The script builds Trowl from source and installs it to /usr/local/bin, along with necessary tools and dependencies.

  • Debian or Ubuntu on x86-64 or arm64
  • sudo for system packages and installation.
Terminal window
curl -fsSL https://raw.githubusercontent.com/corefense-security/trowl/main/install.sh | bash -s -- --ref "$REF"
Terminal window
trowl --version
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

The installer leaves out LLM scan summary by default. Pass --with-llm to enable it.

See Local AI summary for details.

Terminal window
trowl scan core-image-minimal-qemux86-64.rootfs.ext4.zst \
--sbom core-image-minimal-qemux86-64.rootfs.spdx.json \
--kernel-config kernel.config \
-o report

See Yocto integration to run Trowl scan inside BitBake.

From your Buildroot directory:

Terminal window
trowl scan output/images/rootfs.ext4 -o report

For optional inputs, see SBOM analysis and CVEs and VEX.

See Data fetching and caching.

Open report/index.html directly or serve the report locally:

Terminal window
trowl view report # http://127.0.0.1:8765

Press Ctrl+C to stop the viewer.

See Report output for more details.