Setup/install drupal 8 site with drush command

The below command can be used to install a Drupal site using the drush command.

drush site-install standard \
  --db-url=mysql://[username]:[password]@[host]/[database] \
  --account-mail="[account-email]" \
  --account-name=[account-username] \
  --account-pass=[account-password] \
  --site-mail="[site-email]" \
  --site-name="[site-name]"

Here, standard is a profile name that you can replace with your own, as well as the content of [].

0/5