Skip to content

vlt query

Usage:

vlt query
vlt query <query> --view=[human | json | mermaid | gui]

List installed dependencies matching the provided query.

Examples

Query packages with the name “foo”

vlt query '#foo'

Query all peer dependencies of workspaces

vlt query '*.workspace > *.peer'

Query all direct project dependencies with a “build” script

vlt query ':project > *:attr(scripts, [build])'

Query packages with names starting with “@vltpkg”

vlt query '[name^="@vltpkg"]'

Options

view

Output format. Defaults to human-readable or json if no tty.

--view=[human | json | mermaid | gui]