# CLI Reference

## Main

The Mandarine CLI is a command interface tool that you use to create Mandarine-powered applications as well as Mandarine-powered modules.

In order to install Mandarine's CLI, you need to have installed Deno in your computer. Then, run from your terminal the following command:

```bash
deno install --allow-read --allow-write --allow-run -n mandarine https://deno.land/x/mandarinets/cli.ts
```

## Usage

```bash
mandarine [OPTIONS] [SUBCOMMAND]
```

**Options:**

| Option        | Description                                      |
| ------------- | ------------------------------------------------ |
| -h, --help    | Shows the help information of Mandarine's CLI.   |
| -v, --version | Shows the version information of Mandarine's CLI |

**Subcommand**:

| Subcommand                                                                                          | Alias | Description                                                                                                         |
| --------------------------------------------------------------------------------------------------- | ----- | ------------------------------------------------------------------------------------------------------------------- |
| [new](https://mandarineframework.gitbook.io/mandarine-ts/mandarine-cli/cli/mandarine-new)           | n     | Creates a Mandarine-powered application (following Mandarine's project structure) in the current working directory. |
| [generate](https://mandarineframework.gitbook.io/mandarine-ts/mandarine-cli/cli/mandarine-generate) | g     | Generates a Mandarine-powered module.                                                                               |
| [run](https://mandarineframework.gitbook.io/mandarine-ts/mandarine-cli/cli/mandarine-run)           | r     | Compiles & Run the mandarine application located in the current working directory.                                  |
