drush site:installfor drush 9x

Install Drupal along with modules/themes/configuration/profile.

drush site:install

  • Aliases

    site:install has 3 alias/es:

    drush si

    drush sin

    drush site-install

  • Arguments

    site:install accepts 1 argument/s:

    profile : An install profile name. Defaults to 'standard' unless an install profile is marked as a distribution. Additional info for the install profile may also be provided with additional arguments. The key is in the form [form name].[parameter name]

  • Options

    site:install accepts 16 option/s:


    --db-url : db-url


    --db-prefix : db-prefix


    --db-su : db-su


    --db-su-pw : db-su-pw


    --account-name : account-name


    --account-mail : account-mail


    --site-mail : site-mail


    --account-pass : account-pass


    --locale : locale


    --site-name : site-name


    --site-pass : site-pass


    --sites-subdir : sites-subdir


    --config-dir : config-dir


    --notify : notify


    --druplicon : druplicon


    --xh-link : xh-link

  • Examples

    (Re)install using the expert install profile. Set default language to Ukrainian.

    drush si expert --locale=uk

    Install using the specified DB params.

    drush si --db-url=mysql://root:[email protected]:port/dbname

    Install using SQLite

    drush si --db-url=sqlite://sites/example.com/files/.ht.sqlite

    Re-install with specified uid1 password.

    drush si --account-pass=mom

    Disable email notification during install and later. If your server has no mail transfer agent, this gets rid of an error during install.

    drush si standard install_configure_form.enable_update_status_emails=NULL

  • Comments

    comments powered by Disqus