Puddinq.com sharing knowledge

Install WordPress commandline with wp cli

Install WordPress commandline with wp cli

This uses the –prompt to avoid using the password on the command line.

Download the files

wp core download --locale=nl_NL

Create wp-config.php with the right settings.

wp config create --dbname=wordpress --dbuser=wordpress --prompt=dbpass

Initiate the database with the right settings.

wp core install --url=www.wordpress.test --title=WordPress --admin_user=wordpress --prompt=admin_password [email protected]

removing a line from the command line history