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 Flaky Tests (Beta): detects, quarantines, and eliminates flaky tests from your code base
  • Trunk Merge Queue: a merge queue to make merging code in GitHub safer and easier
  • Trunk Code Quality: a universal metalinter to run industry leading OSS code quality and security tools in your terminal, IDE and in CI

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 150 52

  2. trunk-action trunk-action Public

    Trunk.io GitHub Action

    Shell 232 21

  3. breakpoint breakpoint Public archive

    GitHub Action to set conditional breakpoints in CI jobs

    Shell 21 1

  4. docs docs Public

    docs.trunk.io

    Shell 25 12

Repositories

Showing 10 of 39 repositories
  • mergequeue-demo Public Forked from merge-demo/mergequeue

    Demonstration of trunk.io/merge in realtime

    trunk-io/mergequeue-demo’s past year of commit activity
    Python 0 5 0 439 Updated Oct 25, 2025
  • flake-farm Public

    Example repository to demonstrate discovery, tracking, quarantining of flaky tests

    trunk-io/flake-farm’s past year of commit activity
    C# 0 MIT 2 0 6 Updated Oct 25, 2025
  • docs Public

    docs.trunk.io

    trunk-io/docs’s past year of commit activity
    Shell 25 MIT 12 0 3 Updated Oct 24, 2025
  • analytics-cli Public

    CLI tool enabling integration with Test Analytics https://docs.trunk.io/flaky-tests/get-started

    trunk-io/analytics-cli’s past year of commit activity
    Rust 7 MIT 5 0 5 Updated Oct 24, 2025
  • plugins Public

    Trunk.io plugins repo

    trunk-io/plugins’s past year of commit activity
    TypeScript 150 MIT 52 25 31 Updated Oct 24, 2025
  • configs Public

    Opinionated Trunk.io Config Plugin

    trunk-io/configs’s past year of commit activity
    JavaScript 28 MIT 6 0 2 Updated Oct 24, 2025
  • kysely-codegen Public Forked from RobinBlomberg/kysely-codegen

    Generate Kysely type definitions from your database.

    trunk-io/kysely-codegen’s past year of commit activity
    TypeScript 0 MIT 124 0 1 Updated Oct 20, 2025
  • mcp-server Public

    Trunk CI Autopilot MCP Server

    trunk-io/mcp-server’s past year of commit activity
    0 0 0 0 Updated Oct 16, 2025
  • trunk-action Public

    Trunk.io GitHub Action

    trunk-io/trunk-action’s past year of commit activity
    Shell 232 MIT 21 0 1 Updated Oct 13, 2025
  • mergequeue-tool Public

    Merge Queue Tool for stress testing a repository using trunk merge

    trunk-io/mergequeue-tool’s past year of commit activity
    Rust 0 MIT 0 0 0 Updated Oct 10, 2025