Title: vip config envvar
Published: July 7, 2026

---

 1. [VIP-CLI command reference](https://docs.wpvip.com/vip-cli/commands/)
 2. [vip config](https://docs.wpvip.com/vip-cli/commands/config/)
 3. vip config envvar

#  vip config envvar

Manage environment variables for an environment.

## Usage

    ```wp-block-preformatted
    vip config envvar [options]
    ```

## Options

| Option | Description | 
|  `-h`, `--help` |  Retrieve a description, examples, and available options for a (sub)command. (default: false) |  
|  `-v`, `--version` |  Retrieve the version number of VIP-CLI currently installed on the local machine. (default: false) |  
|  `-d`, `--debug` |  [value] Generate verbose output during command execution to help identify or fix errors or bugs. |

## Examples

    ```wp-block-preformatted
    - Add or update the environment variable "MY_VARIABLE" and assign its value at the prompt.$ vip @example-app.develop config envvar set MY_VARIABLE- Retrieve the value of the environment variable "MY_VARIABLE".$ vip @example-app.develop config envvar get MY_VARIABLE- Retrieve a list of all environment variables in the default table format.$ vip @example-app.develop config envvar get-all- List the names of all environment variables.$ vip @example-app.develop config envvar list- Delete the environment variable "MY_VARIABLE" from the environment.$ vip @example-app.develop config envvar delete MY_VARIABLE
    ```

## Subcommands

| Name | Description | 
|  [`delete`](https://docs.wpvip.com/vip-cli/commands/config/./delete?output_format=md) |  Delete an environment variable. |  
|  [`get`](https://docs.wpvip.com/vip-cli/commands/config/./get?output_format=md) |  Retrieve the value of an environment variable. |  
|  [`get-all`](https://docs.wpvip.com/vip-cli/commands/config/./get-all?output_format=md) |  Retrieve the names and values of all environment variables. |  
|  [`list`](https://docs.wpvip.com/vip-cli/commands/config/./list?output_format=md) |  List the names of all environment variables. |  
|  [`set`](https://docs.wpvip.com/vip-cli/commands/config/./set?output_format=md) |  Add or update an environment variable. |

Last updated: July 07, 2026