Turborepo Quickstart
Turborepo is an intelligent build system optimized for JavaScript and TypeScript codebases.
Your codebase's tasks - like lint
, build
and test
- don't run as fast as they could. Turborepo uses caching to turbocharge your local setup and speed up your CI.
Turborepo is designed to be incrementally adopted, so you can add it to most codebases in a few minutes.
Add to existing project
Add Turborepo to any JavaScript or TypeScript project in minutes.
Create a new monorepo
Build a brand-new monorepo with shared packages powered by Turborepo.
Add to existing monorepo
Incrementally add Turborepo to your existing monorepo codebase.
Features
Turborepo leverages advanced build system techniques to speed up development, both on your local machine and your CI/CD.
Never do the same work twice
Turborepo remembers the output of any task you run - and can skip work that's already been done.
Maximum Multitasking
The way you run your tasks is probably not optimized. Turborepo speeds them up with smart scheduling, minimising idle CPU's.
Monorepos
Turborepo works out-of-the-box with monorepo tools like npm
, pnpm
and yarn
. If you've ever felt that your monorepo slowed you down, it might be time for Turborepo.
Why Turborepo?
Understand why monorepos don't scale - and why Turborepo is the solution.
Read the Monorepo Handbook
Learn the basics of monorepos before you dive in to Turborepo.
Examples
You can also clone a Turborepo starter repository to get a head start on your monorepo. For even more examples and starters, see the Turborepo examples directory on GitHub (opens in a new tab).