Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Turborepo

High-performance build system for monorepos with task parallelization.

Build tools and bundlersNPM

GitHubWebsite

1. License

License from npm.

github.com/vercel/turborepo

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Turborepo does

Turborepo calls itself "the build system for coding agents": it caches and schedules the <code>package.json</code> scripts a repo already has, and it adds terminal commands that give an agent docs, repository structure and affected-only checks.

Turborepo popularity

83 / 100
Gid Score, #56 overall
48.3M
downloads a week, npm
31.4K
GitHub stars
363
agent projects use it
Turborepo: downloads per weeknpm, turbo 48,341,240
Turborepo: GitHub starsvercel/turborepo 31,380

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Turborepo is used

  • Turborepo is a dependency in 363 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (7.5% of the 4,867 JavaScript/TypeScript ones), #2 of 185 in build tools and bundlers.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 596; those are left out of every share on this page.
  • The most used alternative in our scan is Nx (127 projects).
  • Projects that use it most often also use Biome (28.1%), TypeScript (77.7%), Husky (29.8%).
  • It is more common in projects set up for OpenAI Codex (15.8%) than for Devin Desktop (3.9%).

By coding agent

264 projects, 8.1%
200 projects, 8.2%
134 projects, 4.4%
74 projects, 15.8%
49 projects, 10.3%
44 projects, 12.8%
16 projects, 11.4%
11 projects, 3.9%

Often used with

In 28.1% of its projects
In 77.7% of its projects
In 29.8% of its projects
In 42.7% of its projects
In 24.2% of its projects
In 14.6% of its projects
In 12.4% of its projects
In 11.8% of its projects

Turborepo in practice

Strengths

Sits on top of existing scripts

Turborepo does not ask you to rewrite your build. The docs say it uses your existing scripts and declared dependencies, plus a single <code>turbo.json</code>, and can be adopted incrementally.

Remote Cache shared with CI

Remote Caching stores task results so CI can reuse them instead of rebuilding. The docs make the claim directly.

Parallel task scheduling

The docs say Turborepo orders build, test and lint work and spreads it across all available cores. You do not have to sequence these tasks by hand.

Any npm-ecosystem package manager

The docs say it works with npm, yarn or pnpm because it follows npm ecosystem conventions.

Watch out for

Just-in-Time packages get no build cache

A Just-in-Time package exports TypeScript directly and has no build step of its own. The docs say Turborepo therefore cannot cache a build for it.

No <code>compilerOptions.paths</code> in Just-in-Time packages

Packages transpiled by their consumer cannot use TypeScript path aliases. For TypeScript 5.4 or later, the docs recommend Node.js subpath imports instead.

Type errors cross package lines

When an internal package exports raw TypeScript, a type error inside it makes type-checking fail in a dependent package. The docs note this can be confusing or problematic.

Link to Remote Cache, run tasks, inspect the repo

# Link to Remote Cache
turbo login
turbo link
# Run tasks
turbo run build
turbo run build --affected
# Find tasks
turbo run
# Find packages
turbo ls
# Get deep repository context
turbo query --schema

More about Turborepo

Agent Skills for it
  • : The React Framework
  • : The build system for coding agents.
  • turborepo-caching: Configure Turborepo for efficient monorepo builds with local and remote caching. Use when setting up Turborepo, optimizing build pipelines,
  • turborepo: Configure and troubleshoot Turborepo repositories. Use when working with turbo.json, task pipelines, caching, Remote Cache, the turbo CLI, f

See all

Head to head
Packages around it
  • husky: Git hooks
  • @biomejs: Formatter and linter
  • prettier: Code formatter
  • lint-staged: Lint staged files
  • @changesets/cli: Versioning and changelogs
  • vitest: Test runner
More in Build tools and bundlers

Alternatives

Turborepo This page

MITGid 8348.3M/wk

Nx

Monorepo tool with build orchestration, caching and dependency analysis.

MITGid 7415.8M/wk

Compare Turborepo with another tool

Get started

Install it.

npm install turbo

Rules for your agent

Paste into AGENTS.md or CLAUDE.md
## Turborepo
- Declare tasks in the root `turbo.json`. Use `"dependsOn": ["^build"]` so a package's build runs after the builds of its dependencies.
- Add each Compiled Package's build directory (`dist`, `build`) to the `outputs` key of its task so Turborepo caches those build outputs.
- To check your own changes, run `turbo run build --affected` instead of the whole repository.
- Before guessing at config, search the docs with `turbo docs "<topic>"`. Use `turbo ls` or `turbo query --schema` to learn the repository structure.
- Reference internal packages with the package manager's workspace syntax, for example `"@repo/ui": "workspace:*"` for pnpm.
- In Just-in-Time packages, do not use `compilerOptions.paths`. On TypeScript 5.4 or later, use Node.js subpath imports.
- Build Compiled Packages with `tsc` unless a specific use case requires a bundler. For publishing to npm, the docs recommend changesets.