CLI Reference
Last updated
Last updated
You can use the Trunk CLI to interact with Trunk during local development and automate tasks in CI.
The Trunk CLI can be used for:
: a pluggable metalinter/superlinter with a builtin language server and pre-existing issue detection
hermetic runtime and CLI tool manager
: local workflow automation and githooks manager
: a merge queue to make merging code in GitHub safer and easier
: upload test results to Trunk Flaky Tests to detect, quarantine, and eliminates flaky tests.
and can be used entirely locally without depending on hosted services or even having a Trunk account.
Install
Install the Trunk CLI for your system.
Compatibility
System compatibility information.
Commands
A reference of all CLI commands.
Configuration
A reference of all configurable CLI options.