WP-CLI

The command line interface for WordPress

Commands » core

wp core - Download, install, update and manage a WordPress install.

Quick links: Github issues


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 [email protected]
Success: WordPress installed successfully.

# Display the WordPress version
$ wp core version
4.5.2

SUBCOMMANDS

Name Description
check-update Check for WordPress updates via Version Check API.
config Generate a wp-config.php file.
download Download core WordPress files.
install Runs the standard WordPress installation process.
is-installed Check if WordPress is installed.
language Manage core language.
multisite-convert Transform a single-site install into a WordPress multisite install.
multisite-install Install WordPress multisite from scratch.
update Update WordPress to a newer version.
update-db Run the WordPress database update procedure.
verify-checksums Verify WordPress files against WordPress.org's checksums.
version Display the WordPress version.