WP-CLI is the command-line interface for WordPress. You can update plugins, configure multisite installations and much more, without using a web browser.
Currently WordPress CLI is regularly maintain by the group of companies.
Read more about WordPress WP CLI installation and configurations
WP-CLI provides a command-line interface for many actions you might perform in the WordPress admin. For instance, wp plugin install –activate (doc) lets you install and activate a WordPress plugin:
$ wp plugin install user-switching --activate
Installing User Switching (1.0.9)
Downloading installation package from https://downloads.wordpress.org/plugin/user-switching.1.0.9.zip...
Unpacking the package...
Installing the plugin...
Plugin installed successfully.
Plugin 'user-switching' activated.
Success: Installed 1 of 1 plugins.
Below is the list of main WP-CLI Commands:
Open /wp-admin/ in a browser.
Adds, removes, fetches, and flushes the WP Object Cache object.
Adds, removes, and lists capabilities of a user role.
Reviews current WP-CLI info, checks for updates, or views defined aliases.
Creates, updates, deletes, and moderates comments.
Generates and reads the wp-config.php file.
Downloads, installs, updates, and manages a WordPress installation.
Tests, runs, and deletes WP-Cron events; manages WP-Cron schedules.
Performs basic database operations using credentials stored in wp-config.php.
Create a distribution archive based on a project’s .distignore file.
Inspects oEmbed providers, clears embed cache, and more.
Executes arbitrary PHP code.
Loads and executes a PHP file.
Exports WordPress content to a WXR file.
Find WordPress installations on the filesystem.
Gets help on WP-CLI, or on a specific command.
Provides internationalization tools for WordPress projects.
Imports content from a given WXR file.
Installs, activates, and manages language packs.
Activates, deactivates or checks the status of the maintenance mode of a site.
Imports files as attachments, regenerates thumbnails, or lists registered image sizes.
Lists, creates, assigns, and deletes the active theme’s navigation menus.
Perform network-wide operations.
Retrieves and sets site options, including plugin and WordPress settings.
Lists, installs, and removes WP-CLI packages.
Manages plugins, including installs, activations, and updates.
Manages posts, content, and meta.
Retrieves details on the site’s registered post types.
Lists or flushes the site’s rewrite rules, updates the permalink structure.
Manages user roles, including creating new roles and resetting to defaults.
Generates code for post types, taxonomies, plugins, child themes, etc.
Searches/replaces strings in the database.
Launches PHP’s built-in web server for a specific WordPress installation.
Opens an interactive PHP console for running and testing PHP code.
Lists registered sidebars.
Creates, deletes, empties, moderates, and lists one or more sites on a multisite installation.
Lists, adds, or removes super admin users on a multisite installation.
Retrieves information about registered taxonomies.
Manages taxonomy terms and term meta, with create, delete, and list commands.
Manages themes, including installs, activations, and updates.
Adds, gets, and deletes entries in the WordPress Transient Cache.
Manages users, along with their roles, capabilities, and meta.
Manages widgets, including adding and moving them within sidebars.