BASE

Turborepo

Turborepo

Build / code quality tool · Free

A task runner for JavaScript monorepos: builds a task graph and caches build and test results across packages.

Also known as: vercel/turborepo; turborepo; turbo-repo; vercel-turborepo

Resource illustration: Turborepo

Open resource ↗

What you can use for free

Code and local use under MIT.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Cache tasks across related JavaScript packages
  • Check build/test graph execution and cache reuse

Example workflow

A possible workflow; this is not a report of hands-on testing.

Cache tasks across related JavaScript packages.

Before you start

  • A repository, package manifests, and configuration.
  • A compatible runtime and the target build command.

Steps

  1. Define the monorepo's tasks, dependencies, and outputs.
  2. Check build/test graph execution and cache reuse.
  3. Add the workflow to scripts or CI with a clear report.

Check your result

  • A clean copy of the project reproduces the result.
  • Errors produce a nonzero exit code and clear diagnostics.

Choosing Turborepo

Cache tasks across related JavaScript packages

Choose this when

  • Cache tasks across related JavaScript packages
  • Check build/test graph execution and cache reuse

Requirements

  • For a shared Remote Cache, the guide first recommends authenticating with turbo login and linking with turbo link. Once connected, task results are sent to the selected cache provider.

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: MIT for the code; dependencies have separate licenses.
  • Caching assumes deterministic tasks. Undeclared outputs are not restored as files; absolute paths in results are not rewritten when sharing the cache between Git worktrees.

Frequently asked questions

What can you use for free in Turborepo?

Code and local use under MIT.

What additional costs might arise with Turborepo?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for Turborepo?

MIT for the code; dependencies have separate licenses.

How do you get started with Turborepo?

Define the monorepo's tasks, dependencies, and outputs. Check build/test graph execution and cache reuse. Add the workflow to scripts or CI with a clear report.

What does Turborepo store in a task's cache?

Turborepo compares the input fingerprint and restores the results of a previously completed task. The cache contains logs and files explicitly listed in outputs in turbo.json; the default local directory is .turbo/cache.

License

MIT for the code; dependencies have separate licenses.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Technologies and topics

  • Turborepo
  • build
  • Development

Sources

Other resources