Skip to content

Search

Search the docs, blog, and marketplace.

How it works

Commands

Per-command reference for scan, explain, and diff, plus the shared option surface.

Last updated October 25, 2026View source (v0.30.0)

Everything Bomly does runs through one of these commands. The three commands that build a dependency graph (scan, explain, diff) have their own reference pages. The others are documented on their feature pages.

CommandPurposeReference
bomly scanResolve dependencies, render reports, and write SBOMsscan
bomly explainShow every path that pulls a package into the graphexplain
bomly diffCompare dependencies across Git refs, SBOM files, or image tagsdiff
bomly baselineCreate and inspect finding baselinesFinding baselines
bomly pluginsList, install, enable, verify, and test external pluginsPlugins
bomly mcpServe Bomly's tools to AI agents over MCPMCP server
bomly versionPrint version information—

Shared options

scan, explain, and diff share the same options. Learn them once on the scan page; the explain and diff pages cover only what differs.

GroupFlags
Target--path, --recursive, --url and --ref, --image, --sbom
Pipeline steps--enrich, --audit, --analyze
Component selection--detectors, --matchers, --auditors, --analyzers, --ecosystems
Output--format, -o, --json

Selector grammar

--detectors, --matchers, --auditors, --analyzers, and --ecosystems all accept the same kind of list:

FormEffectExample
Plain namesReplace the default set--matchers osv runs only OSV
+nameAdd to the defaults--matchers +clearlydefined-license-matcher adds an installed plugin
-nameRemove from the defaults--matchers -depsdev-license-matcher keeps everything else

Entries are comma-separated and the forms can be mixed: --ecosystems +go,-npm. An unknown name, including a plugin that is not installed, fails with exit 4 and a message naming it. bomly plugins list shows the valid names.

Output targets use a different form, -o <format> or -o <format>=<path>, repeatable for several outputs in one run. See Output formats.

Every flag's config key, environment variable, and default is in the generated Config reference, or run bomly <command> --help.