wp core <command>

Downloads, installs, updates, and manages a WordPress installation.

In this article

Examples

# Download WordPress core
$ wp core download --locale=nl_NL
Downloading WordPress 4.5.2 (nl_NL)...
md5 hash verified: c5366d05b521831dd0b29dfc386e56a5
Success: WordPress downloaded.

# Install WordPress
$ wp core install --url=example.com --title=Example --admin_user=supervisor --admin_password=strongpassword --admin_email=info@example.com
Success: WordPress installed successfully.

# Display the WordPress version
$ wp core version
4.5.2

Subcommands

NameDescription
wp core check-update

Checks for WordPress updates via Version Check API.

wp core download

Downloads core WordPress files.

wp core install

Runs the standard WordPress installation process.

wp core is-installed

Checks if WordPress is installed.

wp core multisite-convert

Transforms an existing single-site installation into a multisite installation.

wp core multisite-install

Installs WordPress multisite from scratch.

wp core update

Updates WordPress to a newer version.

wp core update-db

Runs the WordPress database update procedure.

wp core verify-checksums

Verifies WordPress files against WordPress.org’s checksums.

wp core version

Displays the WordPress version.

Command documentation is regenerated at every release. To add or update an example, please submit a pull request against the corresponding part of the codebase.