talira

Turborepo

Task runner and build system for JavaScript and TypeScript monorepos, with remote caching

open sourceMITself-hostablefree

Turborepo is a task runner and build system for JavaScript/TypeScript monorepos from Vercel. It provides incremental task running, local and remote caching, and parallel execution configured in turbo.json, and can prune a monorepo for lightweight deploys. Vercel Remote Cache is free on all plans, and any HTTP server implementing the Remote Caching API can be self-hosted.

Problems it solves

  • our JavaScript monorepo rebuilds every package even when only one changed
  • CI runs lint, test and build for the whole repo on every PR
  • teammates and CI keep rebuilding the same thing; share the results
  • run package.json scripts across workspaces in the right order and in parallel
  • replay the output of a build that already ran on another machine
  • build only the packages a Docker image actually needs
  • a self-hosted cache for monorepo task outputs
  • our Next.js monorepo takes 15 minutes in CI
  • coding agents waste time re-running builds that haven't changed

Features

  • incremental task running
  • local and remote caching
  • parallel execution
  • turbo.json pipelines
  • turbo prune
  • Remote Caching API spec for self-hosting

Ways to run it

Vercel Remote Cache

Hosted by Vercel

free on all Vercel plans, subject to fair use (uploads: Hobby 100 GB/month, Pro 1 TB, Enterprise 4 TB)

Only in this edition

  • a managed remote cache shared by your team and CI
  • OIDC or token access from outside CI
  • SSO through your Vercel team

Not included

  • keeping artifacts longer than 7 days

Pricing

Turborepo with a self-hosted Remote Cache

You run it, MIT

free

You arrange

  • an HTTP server that implements Turborepo's Remote Caching API (Vercel ships none; the docs list community servers)
  • storage for cached artifacts
  • tokens for teammates and CI

Self-hosting docs

Capabilities

Has an APIplan not known
Has a command line toolplan not known

Alternatives

The same job

These do what Turborepo does.

  1. Nx The Monorepo Platform that amplifies both developers and AI agents.
  2. Rush Monorepo manager for building and publishing many JavaScript packages from one repo
  3. Pants Scalable build system for monorepos in many languages
  4. moon A build system and monorepo management tool for the web ecosystem, written in Rust.
  5. Bazel a fast, scalable, multi-language and extensible build system
  6. BuildBuddy Open source Bazel build event viewer, result store, remote cache, and remote build execution platform.

Compare Turborepo with the top 3