Skip to content

Instantly share code, notes, and snippets.

View wp cli default
## download and install wordpress
## for ddev you can use --url=$DDEV_URL
wp core download --locale=de_DE --version=latest
#wp config create only ... without ddev
#wp config create --dbname=... --dbuser=... --dbpass=... --locale=de_DE --dbprefix=wp_...
wp core install --url=$DDEV_URL --title="..." --admin_user=... --admin_email=...
## anchor only with ddev
wp config set WP_POST_REVISIONS false --raw --add --anchor="/** Authentication Unique Keys and Salts. */"
wp config set WP_MEMORY_LIMIT 256M --add --anchor="/** Authentication Unique Keys and Salts. */"