> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: env

## Article: env

## Article Link: https://dev.wix.com/docs/wix-cli/cli-for-apps/command-reference/project-commands/env.md

## Article Content:

# wix app env

Manages your project's [environment variables](https://dev.wix.com/docs/build-apps/develop-your-app/develop-an-app-with-the-cli/project-development/environment-variables/about-environment-variables-in-the-cli.md) on Wix's servers.

## Usage

```bash
wix app env [subcommand] [flags]
```

If you don't specify a subcommand, `wix app env` runs the `pull` subcommand.

## Subcommands

The following table lists the subcommands available for the `wix app env` command:

| Subcommand | Description |
| ---------- | ----------- |
| `pull` | Pulls all your environment variables from Wix's servers and merges them into the `.env.local` file. |
| `set` | Sets an environment variable on Wix's servers. |
| `remove` | Removes an environment variable from Wix's servers. |

### pull

Pulls all your environment variables from Wix's servers and merges them into the `.env.local` file.

The pulled variables include any shared by your project's collaborators.

### set

Sets an environment variable on Wix's servers.

Variables you set are stored on Wix servers and shared with your project's collaborators, who retrieve them by running [`wix app env pull`](https://dev.wix.com/docs/wix-cli/cli-for-apps/command-reference/project-commands/env.md#pull).

The following flags are available for the `set` subcommand:

| Flag | Description |
| ---- | ----------- |
| `--key <key>` | (Required) Name of the variable. |
| `--value <value>` | (Required) Value of the variable. |

### remove

Removes an environment variable from Wix's servers.

Removing a variable removes it for all collaborators on your project. It doesn't delete the variable from your local `.env.local` file.

The following flag is available for the `remove` subcommand:

| Flag | Description |
| ---- | ----------- |
| `--key <key>` | (Required) Name of the variable. |