🔧
Build Tool3M+/wkMIT

turbo

Turborepo is a high-performance build system for JavaScript and TypeScript monorepos that provides intelligent caching, parallel execution, and incremental buil

Installation

npm
npm install -D turbo
yarn
yarn add -D turbo
pnpm
pnpm add -D turbo

Import

ESM
// turbo.json configuration

Quick Example

usage
// turbo.json
{
  "pipeline": {
    "build": {
      "dependsOn": ["^build"],
      "outputs": ["dist/**"]
    },
    "test": {
      "dependsOn": ["build"]
    },
    "lint": {}
  }
}

About turbo

Turborepo is a high-performance build system for JavaScript and TypeScript monorepos that provides intelligent caching, parallel execution, and incremental builds. Turbo analyzes the dependency graph between packages in your monorepo and runs tasks (build, test, lint) in the optimal order with maximum parallelism, skipping work that has already been done through content-aware hashing of inputs. Local caching stores previous build outputs keyed by the hash of source files, dependencies, and environment variables, allowing subsequent builds to be completed in milliseconds by restoring cached artifacts. Remote caching through Vercel enables sharing build caches across team members and CI environments, so a build completed by one developer benefits the entire team. Turbo's pipeline configuration defines task dependencies (e.g., build depends on ^build of dependencies) and which outputs to cache. The tool integrates with any package manager (npm, yarn, pnpm) and works alongside existing build tools — it orchestrates when tasks run, not how they run. Turborepo is particularly impactful in large monorepos where full rebuilds take minutes but incremental cached builds complete in seconds.

Quick Facts

Packageturbo
CategoryBuild Tool
Weekly Downloads3M+
LicenseMIT
Installnpm install -D turbo

Related Packages

Browse npm Packages by Category

Explore our reference of 200 popular npm packages with install commands, examples, and quick-start guides.