# dflow groups:create

> Combine applications in the current environment into one shared dflow.json.

Web page: /docs/cli/data/groups-create/

```bash
dflow groups:create NAME APP [APP...]
```

`NAME` is the group. Each following argument is an application in the current environment. dFlow reads the `dflow.json` stored for each application and writes one shared file.

The same name replaces that group and rebuilds the file. An application that is no longer listed keeps its own file. An application already in another group is rejected.

This command does not deploy. Apply a file with [dflow apps:document](/docs/cli/apps/apps-document) when you want the running applications to change. The dashboard removes a group by calling the same route with an empty applications list. That writes each application its own file and does not delete the applications.

```bash
dflow groups:create shop api web
```
