CLI
Last updated
Last updated
You can use the Trunk CLI to interact with Trunk products during local development and automate tasks in CI.
The Trunk CLI can be used for:
Trunk Code Quality: a pluggable metalinter/superlinter with a builtin language server and pre-existing issue detection
Trunk Tools: hermetic runtime and CLI tool manager
Trunk Actions: local workflow automation and githooks manager
Trunk Merge Queue: a merge queue to make merging code in GitHub safer and easier
Trunk Quality and Trunk Actions 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.