> For the complete documentation index, see [llms.txt](https://degreetpro.gitbook.io/nestgram/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://degreetpro.gitbook.io/nestgram/config/cli.md).

# CLI

## About CLI

We recommend to use CLI in your project. You can create project using CLI, install Nestgram modules and generate resources

![Nestgram CLI](/files/TR5MeHBHnC7WzgigfpFl)

## Installing CLI

```nginx
npm i -g @nestgram/cli
```

## Using

### Help

```nginx
nestgram
```

### Create new project

```
nestgram new project-name
```

### Add module (e.g. mongo module)

```
nestgram add
```

### Generate resource (module, controller, service)

```
nestgram gen resource-name
```
