Command Description
wp cache

The cli command updates and displays information about your local WP-CLI environment.

wp cap

The cap command adds to, removes from, or lists capabilities of a user role.

wp checksum

The checksum command compares the local WordPress core files against WordPress.org’s core files using checksums.

wp cli

The cli command updates and displays information about your local WP-CLI environment.

wp comment

The comment command creates, updates, deletes, and moderates comments.

wp config

The config command generates and displays information about the wp-config.php file.

wp core

The core command downloads, installs, updates, and manages a local WordPress installation.

wp cron

The cron command manages automation events inside the wp-cron schedule.

wp db

The db command performs basic database operations with your wp-config credentials.

wp eval

The eval command executes and tests PHP commands passed as parameters.

wp eval-file

The eval-file command executes and tests PHP files.

wp export

The export command exports selected database content into a WordPress eXtended RSS (WXR) file.

wp help

The help command accesses the manual for WP-CLI and its commands.

wp import

The import command imports content from a WordPress eXtended RSS (WXR) file into your database.

wp language

The language command manages languages for your local WordPress site.

wp media

The media command imports attachments and regenerates thumbnails.

wp menu

The menu command manages menus for your local Wordpress site.

wp network

The network command manages meta for multisite networks.

wp option

The options command manages site options, including your local WordPress settings.

wp package

The package command is the WP-CLI package manager, allowing you to install community-maintained projects or write your own.

wp plugin

The plugin command manages site plugins, including install, activation, and updates.

wp post

The posts command manages posts, content, and meta.

wp post-type

The post-type command retrieves information on registered post-types.

wp rewrite

The rewrite command lists or flushes a site’s rewrite rules and update the permalink structure.

wp role

The role command manages user roles, including creating new roles and resetting to defaults.

wp scaffold

The scaffold command creates child or _s themes, generates theme and plugin unit tests, and registers custom post types can taxonomies.

wp search-replace

The search-replace command finds and replaces strings in the database (regex permitted).

wp server

The server command launches PHP’s built-in web server for this specific WordPress installation.

wp shell

The shell command opens an interactive PHP console.

wp sidebar

The sidebar command lists registered sidebars.

wp site

The site command manages sites and networks on a multisite installation.

wp super-admin

The super-admin command lists, adds, or removes super admin users on a multisite.

wp taxonomy

The taxonomy command retrieves information about registered taxonomies.

wp term

The taxonomy command retrieves information about and manages taxonomy terms and term meta, including create, delete, and list.

wp theme

The theme command manages site themes, including install, activation, and updates.

wp transient

The transient command gets and sets data stored as WordPress transients.

wp user

The user command manages users, along with their roles, capabilities, and meta.

wp widget

The widget command manages WordPress native and custom widgets, including adding and moving them within sidebars.