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
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
Turborepo with a self-hosted Remote Cache
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
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
Alternatives
The same job
These do what Turborepo does.
- Nx The Monorepo Platform that amplifies both developers and AI agents.
- Rush Monorepo manager for building and publishing many JavaScript packages from one repo
- Pants Scalable build system for monorepos in many languages
- moon A build system and monorepo management tool for the web ecosystem, written in Rust.
- Bazel a fast, scalable, multi-language and extensible build system
- BuildBuddy Open source Bazel build event viewer, result store, remote cache, and remote build execution platform.
