# ezhst apps create

Create an app in a project.

## Usage

```
ezhst apps create <name> --project <slug>
```

The app gets its own slug and URL at `<app-slug>.easyhost.fun`.

## In scripts and agents

Add `--json` to read the result from stdout. Progress goes to stderr. On failure the process exits with code 1 and prints `{"error": "..."}`. Without a TTY the CLI never prompts, so pass every value as a flag.

```
npx ezhst apps create --json
```

## Related commands

- [`ezhst apps list`](/docs/cli/apps-list): List the apps in a project.
- [`ezhst apps delete`](/docs/cli/apps-delete): Delete one app.
