Settings up a new WordPress install with wp-cli


wp core update --allow-root; 
wp option update timezone_string "America/New_York" --allow-root; 
wp option update posts_per_page 9 --allow-root; 
wp rewrite structure '/%category%/%postname%/' --allow-root;
wp user update 1 --display_name=Admin --user_pass=PASS--allow-root;
wp option update admin_email [email protected] --allow-root;


wp plugin delete hello --allow-root;
wp plugin install query-monitor --activate --allow-root;
wp plugin install nginx-helper --activate --allow-root;
wp plugin install "" --activate --allow-root;




Leave a Reply

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