[egulu CLI reference](../index.md) / [egulu environments](index.md)

# egulu environments create

POST /v1/projects/{project}/locations/{location}/environments

```sh
egulu environments create <NAME> [options]
```

## API operation

[Environments_create](../../api/delivery/Environments_create.md): `POST /v1/projects/{project}/locations/{location}/environments` (delivery module)

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the environmentId |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--allowed-refs` | value | no | allowedRefs: comma-separated, or @file with one item a line |
| `--apps` | value | no | apps: comma-separated, or @file with one item a line |
| `--description` | value | no | description |
| `--display-name` | value | no | displayName |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--required-approvers` | value | no | requiredApprovers |
| `--required-checks` | value | no | requiredChecks: comma-separated, or @file with one item a line |
| `--validate-only` | value | no | validateOnly |
| `--wait-timer-seconds` | value | no | waitTimerSeconds |

The [global options](../index.md) apply too.
