Skip to content

vip dev-env create

Create a new local environment.

Usage

vip dev-env create [options]

Options

OptionDescription
-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, --slug [value] A unique name for a local environment. Default is “vip-local”.
-t, --title [value] A descriptive value for the WordPress Site Title. Default is “VIP Dev”.
-m, --multisite [value] Create environment as a multisite. Accepts “y” for a subdomain multisite, “subdirectory” (recommended) for a subdirectory multisite, or “false”. Default is “y”.
-w, --wordpress [value] Manage the version of WordPress. Accepts a string value for major versions (6.x) or “latest”. Defaults to the recommended version of WordPress for development.
-u, --mu-plugins [value] Manage the source for VIP MU plugins. Accepts “demo” (default) for a read-only image of the staging branch, or a path to a built copy of VIP MU plugins on the local machine.
-a, --app-code [value] Manage the source for application code. Accepts “demo” (default) for a read-only image of WordPress VIP skeleton application code, or a path to a VIP formatted application repo on the local machine.
-p, --phpmyadmin [value] Enable or disable phpMyAdmin, disabled by default. Accepts “y” (default value) to enable or “n” to disable. When enabled, refer to the value of “PHPMYADMIN URLS” in the information output for a local environment for the URL to access phpMyAdmin.
-x, --xdebug [value] Enable or disable XDebug, disabled by default. Accepts “y” (default value) to enable or “n” to disable. –xdebug_config [value] Override some default configuration settings for Xdebug. Accepts a string value that is assigned to the XDEBUG_CONFIG environment variable.
-e, --elasticsearch [value] Enable or disable Elasticsearch (required by Enterprise Search), disabled by default. Accepts “y” (default value) to enable or “n” to disable.
-r, --media-redirect-domain [value] Configure media files to be proxied from a VIP Platform environment. Accepts a string value for the primary domain of the VIP Platform environment or “n” to disable the media proxy. –php [value] Manage the version of PHP. Accepts a string value for minor versions: 8.2, 8.3, 8.4, 8.5
-c, --cron [value] Enable or disable cron, disabled by default. Accepts “y” (default value) to enable or “n” to disable.
-A, --mailpit [value] Enable or disable Mailpit, disabled by default. Accepts “y” (default value) to enable or “n” to disable.
-H, --photon [value] Enable or disable Photon, disabled by default. Accepts “y” (default value) to enable or “n” to disable.

Examples

- Create a new VIP Local Development Environment.
* The environment will be named "vip-local" by default if a custom name is not assigned with "--slug" .
$ vip dev-env create

- Create a new local environment with the unique name "example-site". * Unique names allow multiple local environments to exist simultaneously.
$ vip dev-env create --slug=example-site

- Create a new local environment configured as a multisite running PHP 8.2 and WordPress version 6.4. * Options that are set in the `create` command will be skipped in the setup wizard.
$ vip dev-env create --slug=example-site --multisite=y --php=8.2 --wordpress=6.4

- Create a new local environment with settings based on the production environment of the "example-app" application and load the locally git-cloned application repository "example-repo".
$ vip @example-app.production dev-env create --slug=example-site --app-code=/Users/example/Desktop/example-repo

Last updated: July 07, 2026