Skip to content

Latest commit



23 lines (15 loc) · 1.22 KB

File metadata and controls

23 lines (15 loc) · 1.22 KB


GitHub Mark Logo Edit on GitHub

CoCart CLI offers the ability to manage CoCart via the command-line, using WP CLI. The documentation here covers the version of WC CLI that started shipping in CoCart 3.0.0 and later.

What is WP-CLI?

For those who have never heard before WP-CLI, here's a brief description extracted from the official website.

WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, set up multisite installs and much more, without using a web browser.

CoCart Commands

All CoCart related commands are grouped into wp cocart command. The available commands (as of CoCart v3.0) are:

Command Description
wp cocart update Updates the CoCart database.
wp cocart version Returns the version of CoCart installed.
wp cocart db-version Returns the database version of CoCart installed.