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 Loading

  1. plugins plugins Public

    Trunk.io plugins repo

    TypeScript 112 38

  2. trunk-action trunk-action Public

    Trunk.io GitHub Action

    Shell 215 12

  3. breakpoint breakpoint Public

    GitHub Action to set conditional breakpoints in CI jobs

    Shell 20 1

  4. docs docs Public

    docs.trunk.io

    19 3

Repositories

Showing 10 of 26 repositories
  • mergequeue Public

    Demonstration of trunk.io/merge in realtime

    trunk-io/mergequeue’s past year of commit activity
    Starlark 0 MIT 4 0 46 Updated Jun 28, 2024
  • flake-factory Public

    Demonstrate all the different ways tests can be flaky

    trunk-io/flake-factory’s past year of commit activity
    Java 1 MIT 0 0 1 Updated Jun 28, 2024
  • plugins Public

    Trunk.io plugins repo

    trunk-io/plugins’s past year of commit activity
    TypeScript 112 MIT 38 11 19 Updated Jun 28, 2024
  • configs Public

    Opinionated Trunk.io Config Plugin

    trunk-io/configs’s past year of commit activity
    JavaScript 26 MIT 3 0 0 Updated Jun 28, 2024
  • metabase Public Forked from metabase/metabase

    The simplest, fastest way to get business intelligence and analytics to everyone in your company 😋

    trunk-io/metabase’s past year of commit activity
    Clojure 0 5,086 0 1 Updated Jun 28, 2024
  • toolbox Public

    Repository Code Quality Tool

    trunk-io/toolbox’s past year of commit activity
    Rust 24 MIT 1 0 1 Updated Jun 28, 2024
  • trunk-io/debugger-demo’s past year of commit activity
    Shell 13 MIT 1 0 4 Updated Jun 28, 2024
  • breakpoint Public

    GitHub Action to set conditional breakpoints in CI jobs

    trunk-io/breakpoint’s past year of commit activity
    Shell 20 1 0 2 Updated Jun 28, 2024
  • docs Public

    docs.trunk.io

    trunk-io/docs’s past year of commit activity
    19 MIT 3 0 2 Updated Jun 27, 2024
  • bazel-action Public

    A GitHub Action for computing, uploading, and testing bazel impacted targets

    trunk-io/bazel-action’s past year of commit activity
    Shell 13 GPL-3.0 1 0 3 Updated Jun 26, 2024