create-turbo
The easiest way to get started with Turborepo is by using create-turbo
. Use this CLI tool to quickly start building a new monorepo, with everything set up for you.
Start with an example
The community curates a set of examples to showcase ways to use common tools and libraries with Turborepo. To bootstrap your monorepo with one of the examples, use the --example
flag:
Use any of the example's names below:
Core-maintained examples
The following examples are maintained by the Turborepo core team. Dependencies are kept as up-to-date as possible and GitHub Issues are accepted and addressed for these examples.
Name | Description |
---|---|
Basic | Basic monorepo example with two Next.js applications |
Kitchen sink | Multiple frameworks, both frontend and backend |
Non-monorepo | A standalone application using Turborepo |
Shell commands | A nearly empty Turborepo - useful for creating reproductions for GitHub Issues |
SvelteKit | Monorepo with multiple SvelteKit apps sharing a UI Library |
TailwindCSS | Monorepo with multiple Next.js apps sharing a UI library built with TailwindCSS |
Community-maintained examples
The community curates a set of examples to showcase ways to use common tools and libraries with Turborepo. To bootstrap your monorepo with one of the examples, use the --example
flag:
Name | Description |
---|---|
Design System | Unify your site's look and feel by sharing a design system across multiple apps |
Angular | Minimal Turborepo example for learning the fundamentals |
Yarn Berry | Monorepo example using Yarn Berry (Yarn 3) |
Changesets | Configured to publish packages via Changesets |
Docker | Monorepo with an Express API and a Next.js App deployed with Docker utilizing turbo prune |
Gatsby | Monorepo with a Gatsby.js and a Next.js app both sharing a UI Library |
Nest.js | Monorepo with Nest.js |
npm workspaces | Monorepo example using NPM workspaces |
Prisma | Monorepo with a Next.js App fully configured with Prisma |
React Native | Simple React Native & Next.js monorepo with a shared UI library |
Rollup | Monorepo with a single Next.js app sharing a UI library bundled with Rollup |
Solid.js | Monorepo example with SolidJS applications |
typeorm | Monorepo with a Next.js App fully configured with typeorm |
Vite | Monorepo with multiple Vanilla JS apps bundled with Vite, sharing a UI Library |
Vite + React | Monorepo example with Vite and React |
Vitest | Monorepo example with Vitest for testing |
Vue/Nuxt | Monorepo with Vue and Nuxt, sharing a UI Library |
Yarn | Monorepo example using Yarn workspaces |
Use a community example
You can also use a custom starter or example by using a GitHub URL. This is useful for using your own custom starters or examples from the community.