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:
Name | Description |
---|---|
design-system | Unify your site's look and feel by sharing a design system across multiple apps. |
with-angular | Minimal Turborepo example using Angular. |
with-berry | Minimal Turborepo example using Yarn Berry. |
with-changesets | Simple Next.js monorepo preconfigured to publish packages via Changesets |
with-docker | Monorepo with an Express API and a Next.js App deployed with Docker utilizing turbo prune |
with-gatsby | Monorepo with a Gatsby.js and a Next.js app both sharing a UI Library |
with-nestjs | Minimal Turborepo example with Nest.js. |
with-npm | Minimal Turborepoe example using npm as a package manager. |
with-prisma | Monorepo with a Next.js App fully configured with Prisma |
with-react-native-web | Simple React Native & Next.js monorepo with a shared UI library |
with-rollup | Monorepo with a single Next.js app sharing a UI library bundled with Rollup |
with-typeorm | Monorepo with TypeORM |
with-vite | Monorepo with multiple Vanilla JS apps bundled with Vite, sharing a UI Library |
with-vue-nuxt | Monorepo with Vue and Nuxt, sharing a UI Library |
with-yarn | Monorepo using Yarn 1 for package management |
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.
Options
Was this helpful?