Skip to content

quick-start

Tip

This command is part of Drupal core, not Drush. Use the Drupal issue queue for bug reports and feature requests.

Installs a Drupal site and starts a web server for local testing or development.

Examples

  • quick-start demo_umami --langcode fr
  • quick-start standard --site-name QuickInstall --host localhost --port 8080
  • quick-start minimal --host my-site.com --port 80
  • quick-start core/recipes/standard --site-name MyDrupalRecipe

Arguments

  • install-profile-or-recipe. Install profile or recipe directory from which to install the site.

Options

  • --langcode=LANGCODE. The language to install the site in. Defaults to 'en'. [default: en]
  • --password=PASSWORD. Set the administrator password. Defaults to a randomly generated password.
  • --site-name=SITE-NAME. Set the site name. [default: Drupal]
  • --host=HOST. Provide a host for the server to run on. [default: 127.0.0.1]
  • --port=PORT. Provide a port for the server to run on (determined automatically if none is supplied).
  • -s, --suppress-login. Disable opening a login URL in a browser.

Global Options

  • -h, --help. Display help for the given command. When no command is given display help for the list command
  • --silent. Do not output any message
  • -q, --quiet. Only errors are displayed. All other output is suppressed
  • -v|vv|vvv, --verbose. Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
  • -V, --version. Display this application version
  • --ansi. Force (or disable --no-ansi) ANSI output
  • --no-ansi. Negate the --ansi option.
  • -n, --no-interaction. Do not ask any interactive question
  • --url=URL. A base URL (e.g. example.com). Used for building links, selecting a multi-site, etc.
  • -e, --env=ENV. The Environment name. [default: prod]
  • --no-debug. Switches off debug mode.

Legend

  • An argument or option with square brackets is optional.
  • Any default value is listed at end of arg/option description.
  • An ellipsis indicates that an argument accepts multiple values separated by a space.