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

# build

> Build and run a NativePHP application

The `build` command wraps `native:run` and lets you choose a build type.

## Command

Syntax:

```bash theme={null}
nativecli build [OPTIONS]
```

## Options

### --build

Build type to use. Accepted values: `debug` or `release`. Default: `debug`.

## Example

Run a release build:

```bash theme={null}
nativecli build --build=release
```

## See Also

* [jump command](/commands/jump) - Preview on devices quickly with NativePHP Jump
