# Deploy Environment Variables

Applications can run in different configurations in various projects. For example, an application can work in two different projects with different default languages. For such requirements, the **Environment Parameters** feature of ACC is used. These parameters can be seen in the `ENV Variables` column when listing applications.

```bash
$ akinoncli projectapp add-env --deploy {project_id} {project_app_id} {ENV_KEY}={ENV_VALUE} {ANOTHER_ENV_KEY}={ANOTHER_ENV_VALUE}
```

**Environment Parameters**

Adds the environment parameter on the application.

<table><thead><tr><th width="169.86328125">Parameter</th><th width="498.0859375">Description</th><th>Required</th></tr></thead><tbody><tr><td><code>project_id</code></td><td>Project ID</td><td>Yes</td></tr><tr><td><code>project_app_id</code></td><td>Application ID</td><td>Yes</td></tr><tr><td><code>ENV_KEY</code></td><td>The key of relevant environment parameter</td><td>Yes</td></tr><tr><td><code>ENV_VALUE</code></td><td>The value of relevant environment parameter</td><td>Yes</td></tr><tr><td><code>--deploy</code></td><td>Deploys the current version to enable environment variables will be changed.</td><td>No</td></tr></tbody></table>

**Example 1**

`$ akinoncli projectapp add-env 1 32 DEFAULT_LANG=TR_TR --deploy`

***

It is also can be used with JSON

**Example 2**

```bash
$ akinoncli projectapp add-env 1 32 MIDDLEWARE='["my.custom.MiddlewareClass", "django.middleware.security.SecurityMiddleware", "whitenoise.middleware.WhiteNoiseMiddleware", "django.contrib.sessions.middleware.SessionMiddleware"]'
```

***

**Example 3**

```bash
$ akinoncli projectapp add-env 1 32 THUMBNAIL_OPTIONS='{"product-list": {"width": 273, "height": 210}, "product-detail__slider_zoom": {"quality": 90}}'
```
