---
title: "NestJs"
locale: "en"
version: "current"
canonicalUrl: "https://farmfe.org/docs/frameworks/nestjs"
publicationStatus: "prerelease"
---

<a id="nestjs"></a>
# NestJs


Create a ` NestJs ` project based on ` Farm `.


` Farm ` provides two approaches to support creating ` NestJs ` projects:


- Use the ` create-farm ` scaffold to create a scaffold project
- You can manually create a ` NestJs ` project following the current documentation


<a id="creating-a-nestjs-project"></a>
### Creating a NestJs Project


**npm**

```sh
npm create farm@latest
```

**pnpm**

```sh
pnpm create farm@latest
```

**yarn**

```sh
yarn create farm@latest
```

**bun**

```sh
bun create farm@latest
```


Select ` NestJs ` template in ` Select Framework `


The nestjs project uses [farmup](<https://github.com/farm-fe/farmup>) to start and build the project. [Farmup](<https://github.com/farm-fe/farmup>) is built based on farm to simplify the way you run ts files in node js.


After downloading the template, run pnpm dev to start the nestjs project


**npm**

```sh
npm run dev
```

**pnpm**

```sh
pnpm run dev
```

**yarn**

```sh
yarn run dev
```

**bun**

```sh
bun run dev
```


Start enjoying the development experience of millisecond builds


For more example details: [React Example](<https://github.com/farm-fe/farm/tree/main/examples/react>)
