WordPress WP-CLI 2 · Setup

Install WordPress

Run the installer: create tables, the first admin user and the site title.

wp core install --url=https://example.test --title="My Site" --admin_user=admin --admin_password=change-me --admin_email=[email protected]

Official WordPress WP-CLI 2 documentation

More setup commands

All setup commands · WordPress WP-CLI 2 cheatsheet

Was this page helpful?