trunk init
: Set up trunk in this repo.
trunk init
trunk version
: Output the version.
trunk version
trunk upgrade
: Upgrade Trunk and its linters to the latest releases.
trunk upgrade [options]
-y, --yes-to-all
: Answer yes to all upgrade prompts-n, --no-to-all
: Answer no to all upgrade prompts--apply-to
: Apply upgrades to a specified file--filter
: Filter the upgraded linters--dry-run
: Detect available upgrades, but do not apply changes
trunk login
: Login to trunk.io.
trunk login
trunk logout
: Logout from trunk.io.
trunk logout
trunk plugins add
: Add a plugin by URI.
trunk plugins [uri] [ref] [options]
trunk tools
: Universal tool manager.
trunk tools [options]
Report the status of the daemon.
trunk daemon status
Start the trunk daemon in the background if it’s not already running.
trunk daemon start
trunk daemon shutdown
: Shutdown the trunk daemon if it is running.
trunk daemon shutdown
trunk daemon launch
: Start the trunk daemon in the foreground if it’s not already running.
trunk daemon launch
trunk whoami
: print who you're logged in as
trunk whoami
trunk deinit
: Deinitialize Trunk in your repo
trunk deinit [options]
-y
,--yes
: Proceed unconditionally-v
,--verbose
: Output details about what's happening under the hood--color
: Enable/disable color output
trunk config share
: Remove Trunk config files from your local git ignores.
trunk config share
trunk config hide
: Add Trunk config files to your local git ignores.
trunk config hide
trunk config print
: Print the resolved trunk config.
trunk config print
trunk cache clean
: Clean cached files used by Trunk.
trunk cache clean
trunk cache prune
: Prune unused cached files.
trunk cache clean
trunk install
: Download & install enabled runtimes/linters.
trunk install [options]
--version
: The version--monitor
: Enable the trunk daemon to monitor file changes in your repo--ci
: Run in continuous integration mode--no-progress
: Don't show progress updates--ci-progress
: Rate limit progress updates to every 30s (implied by--ci
)--action_timeout
: Timeout for downloads, lint runs, etc.-v
,--verbose
: Output details about what's happening under the hood--color
: Enable/disable color output