How to install WordPress

wp core download --path=wordpress &&
cd wordpress &&
wp config create --dbname=wordpress --dbuser=root --dbpass=root &&
wp db create &&
wp core install --url=wordpress.test --title=WordPress --admin_user=admin --admin_password=password --admin_email=admin@example.com --skip-email

How to generate WordPress child theme

wp scaffold child-theme twentytwentyfour-child --parent_theme=twentytwentyfour --theme_name="Twenty Twenty-Four Child" --activate &&
cp wp-content/themes/twentytwentyfour/screenshot.png wp-content/themes/twentytwentyfour-child