vip dev-env start
Start a local environment.
Usage
vip dev-env start [options]
Options
Option | Description |
---|---|
-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 , --skip-rebuild |
Only start services that are not in a running state. |
-w , --skip-wp-versions-check |
Skip the prompt to update WordPress; occurs if the last major release version is not configured. |
-s , --slug |
A unique name for a local environment. Default is “vip-local”. |
-v , --version |
Retrieve the version number of VIP-CLI currently installed on the local machine. |
-V , --vscode |
Generate a Visual Studio Code Workspace file. |
Examples
- Start a local environment named "example-site".
$ vip dev-env start --slug=example-site
- Skip the prompt to upgrade WordPress to the latest release version and start a local environment with the less recent version of WordPress currently configured.
$ vip dev-env start --skip-wp-versions-check --slug=example-site
- Start only the services of a local environment that are not currently in a running state.
$ vip dev-env start --skip-rebuild --slug=example-site
- Start a local environment and generate a Workspace file for developing in Visual Studio Code.
$ vip dev-env start --vscode --slug=example-site
Last updated: November 18, 2024