Subcommands17 subcommands
trunk init
Setup trunk in this repo
trunk check
Universal code checker
trunk check upgrade
Upgrade all linters to latest versions
trunk check download
Download all files needed for trunk to work offline
trunk check enable
Enable linters
trunk check disable
Disable linters
trunk fmt
Universal code formatter
trunk upgrade
Upgrade trunk to the latest release
trunk git-hooks install
Install trunk git hooks
trunk cache
Cache management
trunk cache clean
Clean the cache
trunk print-config
Print the resolved trunk config
trunk daemon
Daemon management
trunk daemon launch
Start the trunk daemon if its not already running
trunk daemon shutdown
Shutdown the trunk daemon if it is running
trunk daemon status
Report daemon status
OptionsOn trunk itself
-h--help
Usage information
-m--monitor
Enable the trunk daemon to monitor file changes in your repo <value>
--ci
Run in continuous integration mode
-o--output
Output format <format>
--no-progress
Don't show progress updates
--ci-progress
Show updates every 30 seconds without clearing terminal screen (implicit with --ci)
--action_timeout
How long actions (downloads, lint runs, etc.) have to time out, with units (s, ms, etc) <timeout>
-v--verbose
Output details about what's happening under the hood