> ## Documentation Index
> Fetch the complete documentation index at: https://react.email/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Setup

> Things you will need to do beforehand to setup the project

Before you can start developing, you will need to get the project setup.

> [!NOTE]
>
> To contribute to the project, you must use **Node 20.19** or higher.

**1. Clone the repository**

```bash theme={"theme":{"light":"github-light","dark":"vesper"}}
git clone https://github.com/resend/react-email
```

***

```bash theme={"theme":{"light":"github-light","dark":"vesper"}}
npm install -g pnpm
```

**3. Install all the dependencies**

```bash inside of react-email theme={"theme":{"light":"github-light","dark":"vesper"}}
pnpm install
```

**4. Link email-dev CLI globally**

```bash inside of react-email theme={"theme":{"light":"github-light","dark":"vesper"}}
pnpm link ./packages/react-email/dev -g
```

> [!NOTE]
>
> Linking the CLI globally runs the CLI's source code when you use the `email-dev` command, avoiding the need to rebuild the CLI.

If you plan to contribute to the docs, view our [Writing docs](https://react.email/docs/contributing/development-workflow/5-writing-docs.md) guide for additional setup.

If you have any trouble, please [reach out on GitHub Discussions](https://github.com/resend/react-email/discussions) or consider [opening up an issue on GitHub](https://github.com/resend/react-email/issues/new?assignees=\&labels=Type%3A+Bug\&projects=\&template=1.bug_report.yml) after reading the [issue guidelines](https://react.email/docs/contributing/opening-issues.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.