Install WordPress With Wp-Cli (Step by step) Leave a comment

First of all, we need to download WordPress latest version:

wp core download --locale=en_GB

Create the config file:

wp config create --dbname=MyNewDb --dbuser=MyNewDbUser --dbpass=MyNewDbPass

Install wordpress:

wp core install --url=MYSITEURL.COM --title=MyWebsite --admin_user=USERNAME --admin_password=PASSWORD --admin_email=INFO@MYSITEURL.COM

Bonus: If you want to install language:

wp language core install de_DE

Leave a Reply

Your email address will not be published. Required fields are marked *