CLI

You can use the Trunk CLI to interact with Trunk products during local development and automate tasks in CI.

What can it do?

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: a merge queue to make merging code in GitHub safer and easier

  • Trunk Flaky Tests: upload test results to Trunk Flaky Tests to detect, quarantine, and eliminates flaky tests.

Trunk Quality and Trunk Actions can be used entirely locally without depending on hosted services or even having a Trunk account.

Last updated