Skip to content

vip dev-env destroy

Remove a local environment.

Usage

vip dev-env destroy [options]

Options

OptionDescription
-d, --debug Generate verbose output during command execution to help identify or fix errors or bugs.
-h, --help Retrieve a description, examples, and available options for a (sub)command.
-s, --slug A unique name for a local environment. Default is “vip-local”.
-S, --soft Preserve an environment’s configuration files; allows an environment to be regenerated with the start command.
-v, --version Retrieve the version number of VIP-CLI currently installed on the local machine.

Examples

- Completely remove a local environment named "example-site" by removing all Docker containers, volumes, and configuration files.
$ vip dev-env destroy --slug=example-site

- Remove the Docker containers and volumes of a local environment named "example-site" but preserve the configuration files. * The preserved configuration files allow the local environment to be restarted with new Docker containers and volumes.
$ vip dev-env destroy --soft --slug=example-site

Last updated: November 18, 2024