# dflow apps:create

> Save an application name. The containers start when you deploy.

Web page: /docs/cli/path/apps-create/

This saves an application name in the current project and environment. The containers start when you deploy an image or build from source.

```bash
dflow apps:create NAME
```

## Flags

`--project` and `--environment` choose the project and environment for this command only. They are not saved. `--output`, `--api`, and `--context` still apply.

## What you see

The terminal prints `name`, `status`, and `id`. A stored environment id is used in the request path. A stored name is looked up through the workspace, project, and environment lists. If the project or environment was never selected, and that parent has exactly one child, that child is used.

## When it fails

A missing environment or name exits 1 before a request. Exit 1: a bad name or missing context. Exit 2: auth. Exit 3: the project or environment was not found. Exit 4: an application with that name already exists. Exit 10: the API could not be reached.
