Back to Turborepo

Getting started

apps/docs/content/docs/getting-started/index.mdx

2.10.91.3 KB
Original Source

If you're new to Turborepo, you can follow these steps to get started.

<Steps> <Step> ## Install Turborepo

Install turbo globally so you can conveniently run turbo commands in your terminal from anywhere in your repository.

<Tabs items={["npm", "yarn", "pnpm"]} storageKey="selected-pkg-manager"> <Tab value="npm">

bash
npm install turbo --global
</Tab> <Tab value="yarn"> ```bash title="Terminal" yarn global add turbo ``` </Tab> <Tab value="pnpm"> ```bash title="Terminal" pnpm add turbo --global ``` </Tab> </Tabs>

To learn more about installing turbo, see the installation guide.

</Step> <Step>

Choose your learning path

<Cards> <Card href="/docs/getting-started/installation" title="Use create-turbo" description="Start with a template" /> <Card href="/docs/getting-started/examples" title="Use an example" description="Start with a framework-specific example" /> <Card href="/docs/crafting-your-repository" title="Follow the in-depth guides" description="From zero to monorepo" /> <Card href="/docs/getting-started/add-to-existing-repository" title="Add to an existing repository" description="Make your current repo fast" /> </Cards> </Step> </Steps>