WordPress Command Line

Use WP CLI to automate and execute on WordPress tasks from the command line, instead of the WP admin dashboard. Especially useful for installing wordpress, backups and updates of wordpress and it’s plugins, changing option values and adding users.

Here’s an example of installing wordpress from the command line with WP-CLI

wp core download
wp core config –dbname=wordpress –dbuser=dbuser –dbpass=dbpasswd
wp core install –url=https://orange.seravo.fi –title=”An Orange Website” –admin=anttiviljami –admin_password=supersecret –admin_email=antti@seravo.fi