How to create WordPress Instance with WP-CLI?

Prerequisites:

Root level SSH access to server.

WP-CLI installed.

 

Steps:

1. After making the ssh connection to your server, navigate to the directory where you want to install the wordpress website

 

2. Running the following command will install the wordpress instance. Do replace the arguments/parameters used in the command like URL, Title, Admin Username, Password, and Admin Email.

wp core install —url=your_domain —title=Your_Blog_Title —admin_user=username —admin_password=password —admin_email=your_email.com

 

Was this answer helpful? 0 Users Found This Useful (0 Votes)