Title: vip dev-env purge
Published: July 7, 2026

---

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

#  vip dev-env purge

Remove all local environments.

## Usage

    ```wp-block-preformatted
    vip dev-env purge [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. |  
|  `-s`, `--soft` |  [value] Preserve an environment’s configuration files; allows an environment to be regenerated with the start command. |  
|  `-f`, `--force` |  [value] Skip confirmation. |

## Examples

    ```wp-block-preformatted
    - Destroy all local environments.$ vip dev-env purge- Destroy all local environments without requiring confirmation from the user.$ vip dev-env purge --force- Remove the Docker containers and volumes of all local environments but preserve their configuration files.
    * Preserving the configuration files allows the local environments to be regenerated; new Docker containers and volumes will be created.$ vip dev-env purge --soft
    ```

Last updated: July 07, 2026