Skip to content

Environment

Heitor Pedroso edited this page Nov 26, 2021 · 6 revisions

WP-ENV

https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/

Lets you easily set up a local WordPress environment for building and testing plugins and themes.

 npm install
 npm run wp-env start -- --update

WP-CLI

https://wp-cli.org

WP-CLI is the command-line interface for WordPress.

 npm run wp-env run cli wp <your-command>

Requirements

Clone this wiki locally