Skip to content
@trunk-io

Trunk.io

The fast lane for your PRs

What is Trunk?

Trunk is a developer experience (DevEx) toolkit that enables you to ship code quickly while maintaining the guardrails necessary for a large team. Use Trunk for checking, testing, merging, and monitoring your code.

Check out:

  • Trunk Merge: a merge queue to make merging code in GitHub safer and easier
  • Trunk Check: a universal metalinter to run industry leading OSS code quality and security tools in your terminal, IDE and in CI
  • Trunk CI Analytics: live and trend data about the performance and flakiness of your GitHub Actions workflows, jobs, and steps

Use it via:

Trunk is entirely free for use in public repos.

Get Started

Step 1: Install Trunk

To use trunk locally, run:

curl https://get.trunk.io -fsSL | bash

For other installation options (npm, brew, direct download, etc) and details on exactly what we install or how to uninstall, see the Install Trunk doc.

Step 2: Initialize Trunk in a git repo

From the root of a git repo, run:

trunk init

This will bring you into a flow to start getting results from Trunk Check. For more details, see here.

Step 3: Sign up for a Trunk account (optional)

Sign up for a Trunk account, then run:

trunk login

To use Trunk Merge and certain other Trunk features, you'll need an account on trunk.io, but Trunk Check and Trunk Actions can be used entirely locally without depending on hosted services or having a Trunk account.

Help & Feedback

Join the Trunk Slack Community for help and to give feedback (more info).

Pinned

  1. plugins plugins Public

    Trunk.io plugins repo

    TypeScript 99 38

  2. trunk-action trunk-action Public

    Trunk.io GitHub Action

    Shell 216 11

  3. breakpoint breakpoint Public

    GitHub Action to set conditional breakpoints in CI jobs

    Shell 20 1

  4. docs docs Public

    docs.trunk.io

    17 3

Repositories

Showing 10 of 23 repositories

Top languages

Loadingā€¦

Most used topics

Loadingā€¦