Turborepo
by Vercel · CLI tool · also known as Turbo
Build system for JavaScript and TypeScript monorepos from Vercel that runs package tasks in dependency order with local and remote caching
Overview
Turborepo is a build orchestrator for JavaScript and TypeScript monorepos, acquired and developed by Vercel and released under the MIT license. It sits on top of package-manager workspaces (npm, pnpm, Yarn or Bun) and reads a turbo.json file that declares tasks such as build, test and lint and how they depend on one another across packages. From that graph it schedules tasks in parallel where possible, runs them in topological order where required, and caches each task's outputs keyed by a hash of inputs, so unchanged packages are restored from cache rather than rebuilt.
Remote caching shares those artifacts between developers and CI machines; Vercel hosts a remote cache and the protocol is open so self-hosted implementations exist. Turborepo is written in Rust and is commonly used in repositories that combine a Next.js application, shared UI packages and configuration packages. It does not replace bundlers or test runners, only coordinates them, and its scope is narrower than Nx, which adds code generators and project graphs for many languages. Other caveats include the learning needed to express task inputs and outputs correctly for caching to be reliable, and the tie between the hosted remote cache and Vercel accounts.
Capabilities
- Task graph across workspace packages
- Parallel and topological task scheduling
- Content-hashed local cache of task outputs
- Remote caching shared across machines
- Filtering tasks by changed packages
- Watch mode and interactive terminal UI
Typical workflows
- Build only the packages affected by a pull request
- Share build caches between CI and developer laptops
- Run lint, test and build across a Next.js monorepo with one command
Strengths
- Incremental builds through caching
- Works with existing package-manager workspaces
- MIT license
Limitations
- Orchestration only; no bundling or code generation
- Cache correctness depends on declared inputs and outputs
- Hosted remote cache is tied to Vercel
Prerequisites
- Node.js or Bun with workspaces configured
Who it is for
- Teams maintaining JavaScript monorepos
- Front-end platform engineers
Alternatives & comparison
Nx is the main alternative for monorepo orchestration, with broader scope (generators, plugins, multi-language support) and its own cloud cache; Turborepo stays focused on task running and caching with minimal configuration.
Sources & verification
Primary sources consulted for this record. Claims are tied to the fields each source supports; the automated link checker re-verifies every URL on a schedule.
- Licensehttps://github.com/vercel/turborepo/blob/main/LICENSEchecked Nov 1, 2026
Supports: license_spdx, source_model
- Official documentationchecked Nov 1, 2026
- Official sitechecked Nov 1, 2026
- Confidence
- High
- Reviewed
- Nov 1, 2026
- Links
- Verified · Nov 2, 2026
Spotted an error?
More in CI/CD & build automation
Gitea
Gitea Ltd. / Gitea community · Version control & code hosting
Lightweight self-hosted Git forge written in Go with repositories, pull requests, issues, packages and GitHub-compatible Actions, deployable as a single binary
GitHub
GitHub (Microsoft) · Version control & code hosting
Microsoft-owned code hosting platform for Git repositories with pull requests, issues, Actions CI/CD, package registry, Copilot and the largest open-source community
GitHub Actions
GitHub (Microsoft) · CI/CD & build automation
GitHub's CI/CD and automation service that runs YAML-defined workflows on hosted or self-hosted runners in response to repository events
Forgejo
Forgejo project (Codeberg e.V.) · Version control & code hosting
Community-governed self-hosted Git forge forked from Gitea, stewarded by Codeberg e.V., with pull requests, issues, packages and Forgejo Actions
GitLab
GitLab Inc. · Version control & code hosting
Open-core DevSecOps platform combining Git hosting, merge requests, integrated CI/CD pipelines, registry and security scanning, available as SaaS or self-managed
Vite
VoidZero / Vitest team · Web frameworks & UI
Front-end build tool and development server that serves native ES modules during development and bundles for production, with a plugin API shared by many frameworks