Title: WP-CLI Commands | Developer.WordPress.org

---

# WP-CLI Commands

## In this article

 * [Commands](https://developer.wordpress.org/cli/commands/?output_format=md#commands)
 * [Other Developer Resources](https://developer.wordpress.org/cli/commands/?output_format=md#other-developer-resources)

[ Back to top](https://developer.wordpress.org/cli/commands/?output_format=md#wp--skip-link--target)

Below is a listing of all currently available WP-CLI commands with links to documentation
on usage and subcommands.

 Looking to learn more about the internal API of WP-CLI or to contribute to its 
development? Check out the WP-CLI team’s [handbook](https://make.wordpress.org/cli/handbook/)
and the [WP-CLI Blog](https://make.wordpress.org/cli/).

## 󠀁[Commands](https://developer.wordpress.org/cli/commands/?output_format=md#commands)󠁿

| Command | Description | 
| [wp ability](https://developer.wordpress.org/cli/commands/ability/) | Lists, inspects, and executes abilities registered via the WordPress Abilities API. | 
| [wp admin](https://developer.wordpress.org/cli/commands/admin/) | Open /wp-admin/ in a browser. | 
| [wp block](https://developer.wordpress.org/cli/commands/block/) | Manages WordPress block editor blocks and related entities. | 
| [wp cache](https://developer.wordpress.org/cli/commands/cache/) | Adds, removes, fetches, and flushes the WP Object Cache object. | 
| [wp cap](https://developer.wordpress.org/cli/commands/cap/) | Adds, removes, and lists capabilities of a user role. | 
| [wp cli](https://developer.wordpress.org/cli/commands/cli/) | Reviews current WP-CLI info, checks for updates, or views defined aliases. | 
| [wp comment](https://developer.wordpress.org/cli/commands/comment/) | Creates, updates, deletes, and moderates comments. | 
| [wp config](https://developer.wordpress.org/cli/commands/config/) | Generates and reads the wp-config.php file. | 
| [wp core](https://developer.wordpress.org/cli/commands/core/) | Downloads, installs, updates, and manages a WordPress installation. | 
| [wp cron](https://developer.wordpress.org/cli/commands/cron/) | Tests, runs, and deletes WP-Cron events; manages WP-Cron schedules. | 
| [wp db](https://developer.wordpress.org/cli/commands/db/) | Performs basic database operations using credentials stored in wp-config.php. | 
| [wp dist-archive](https://developer.wordpress.org/cli/commands/dist-archive/) | Create a distribution archive based on a project’s .distignore file. | 
| [wp embed](https://developer.wordpress.org/cli/commands/embed-2/) | Inspects oEmbed providers, clears embed cache, and more. | 
| [wp eval](https://developer.wordpress.org/cli/commands/eval/) | Executes arbitrary PHP code. | 
| [wp eval-file](https://developer.wordpress.org/cli/commands/eval-file/) | Loads and executes a PHP file. | 
| [wp export](https://developer.wordpress.org/cli/commands/export/) | Exports WordPress content to a WXR file. | 
| [wp find](https://developer.wordpress.org/cli/commands/find/) | Find WordPress installations on the filesystem. | 
| [wp help](https://developer.wordpress.org/cli/commands/help/) | Gets help on WP-CLI, or on a specific command. | 
| [wp i18n](https://developer.wordpress.org/cli/commands/i18n/) | Provides internationalization tools for WordPress projects. | 
| [wp import](https://developer.wordpress.org/cli/commands/import/) | Imports content from a given WXR file. | 
| [wp language](https://developer.wordpress.org/cli/commands/language/) | Installs, activates, and manages language packs. | 
| [wp maintenance-mode](https://developer.wordpress.org/cli/commands/maintenance-mode/) | Activates, deactivates or checks the status of the maintenance mode of a site. | 
| [wp media](https://developer.wordpress.org/cli/commands/media/) | Imports files as attachments, regenerates thumbnails, or lists registered image sizes. | 
| [wp menu](https://developer.wordpress.org/cli/commands/menu/) | Lists, creates, assigns, and deletes the active theme’s navigation menus. | 
| [wp network](https://developer.wordpress.org/cli/commands/network/) | Perform network-wide operations. | 
| [wp option](https://developer.wordpress.org/cli/commands/option/) | Retrieves and sets site options, including plugin and WordPress settings. | 
| [wp package](https://developer.wordpress.org/cli/commands/package/) | Lists, installs, and removes WP-CLI packages. | 
| [wp plugin](https://developer.wordpress.org/cli/commands/plugin/) | Manages plugins, including installs, activations, and updates. | 
| [wp post](https://developer.wordpress.org/cli/commands/post/) | Manages posts, content, and meta. | 
| [wp post-type](https://developer.wordpress.org/cli/commands/post-type/) | Retrieves details on the site’s registered post types. | 
| [wp profile](https://developer.wordpress.org/cli/commands/profile/) | Quickly identify what’s slow with WordPress. | 
| [wp rewrite](https://developer.wordpress.org/cli/commands/rewrite/) | Lists or flushes the site’s rewrite rules, updates the permalink structure. | 
| [wp role](https://developer.wordpress.org/cli/commands/role/) | Manages user roles, including creating new roles and resetting to defaults. | 
| [wp scaffold](https://developer.wordpress.org/cli/commands/scaffold/) | Generates code for post types, taxonomies, plugins, child themes, etc. | 
| [wp search-replace](https://developer.wordpress.org/cli/commands/search-replace/) | Searches/replaces strings in the database. | 
| [wp server](https://developer.wordpress.org/cli/commands/server/) | Launches PHP’s built-in web server for a specific WordPress installation. | 
| [wp shell](https://developer.wordpress.org/cli/commands/shell/) | Opens an interactive PHP console for running and testing PHP code. | 
| [wp sidebar](https://developer.wordpress.org/cli/commands/sidebar/) | Lists registered sidebars. | 
| [wp site](https://developer.wordpress.org/cli/commands/site/) | Creates, deletes, empties, moderates, and lists one or more sites on a multisite installation. | 
| [wp super-admin](https://developer.wordpress.org/cli/commands/super-admin/) | Lists, adds, or removes super admin users on a multisite installation. | 
| [wp taxonomy](https://developer.wordpress.org/cli/commands/taxonomy/) | Retrieves information about registered taxonomies. | 
| [wp term](https://developer.wordpress.org/cli/commands/term/) | Manages taxonomy terms and term meta, with create, delete, and list commands. | 
| [wp theme](https://developer.wordpress.org/cli/commands/theme/) | Manages themes, including installs, activations, and updates. | 
| [wp transient](https://developer.wordpress.org/cli/commands/transient/) | Adds, gets, and deletes entries in the WordPress Transient Cache. | 
| [wp user](https://developer.wordpress.org/cli/commands/user/) | Manages users, along with their roles, capabilities, and meta. | 
| [wp widget](https://developer.wordpress.org/cli/commands/widget/) | Manages widgets, including adding and moving them within sidebars. |

## 󠀁[Other Developer Resources](https://developer.wordpress.org/cli/commands/?output_format=md#other-developer-resources)󠁿

### CLI Blog

Catch up on the latest on WP-CLI in the main updates blog.

### CLI Handbook

A collection of helpful guides and resources for using WP-CLI.