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 (Beta): live and trend data about the performance and flakiness of your GitHub Actions workflows, jobs, and steps
  • Trunk Flaky Tests (Beta): detects, quarantines, and eliminates flaky tests from your code base

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 141 46

  2. trunk-action trunk-action Public

    Trunk.io GitHub Action

    Shell 220 19

  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 24 10

Repositories

Showing 10 of 32 repositories
  • plugins Public

    Trunk.io plugins repo

    trunk-io/plugins’s past year of commit activity
    TypeScript 141 MIT 46 20 16 Updated May 14, 2025
  • trunk-action Public

    Trunk.io GitHub Action

    trunk-io/trunk-action’s past year of commit activity
    Shell 220 MIT 19 0 2 Updated May 14, 2025
  • docs Public

    docs.trunk.io

    trunk-io/docs’s past year of commit activity
    Shell 24 MIT 10 0 3 Updated May 13, 2025
  • spilo Public Forked from zalando/spilo

    Highly available elephant herd: HA PostgreSQL cluster using Docker

    trunk-io/spilo’s past year of commit activity
    Python 0 Apache-2.0 430 0 0 Updated May 13, 2025
  • configs Public

    Opinionated Trunk.io Config Plugin

    trunk-io/configs’s past year of commit activity
    JavaScript 30 MIT 6 0 0 Updated May 12, 2025
  • analytics-cli Public

    CLI tool enabling integration with Test Analytics https://docs.trunk.io/flaky-tests/ci-providers/other-ci-providers-quickstart

    trunk-io/analytics-cli’s past year of commit activity
    Rust 7 MIT 4 0 5 Updated May 11, 2025
  • trunk-io/analytics-uploader’s past year of commit activity
    Shell 5 MIT 1 0 2 Updated May 6, 2025
  • prelude Public
    trunk-io/prelude’s past year of commit activity
    Starlark 1 0 0 0 Updated May 6, 2025
  • trunk-io/trunk-cli-releases’s past year of commit activity
    1 0 0 0 Updated May 5, 2025
  • flake-factory Public

    Demonstrate all the different ways tests can be flaky

    trunk-io/flake-factory’s past year of commit activity
    Java 2 MIT 13 1 14 Updated Apr 25, 2025

Top languages

Loading…

Most used topics

Loading…