drush core commands


Drush core commands for Drush 7.

  • archive-dump


    Backup your code, files, and database into a single file.


    drush archive-dump

    drush archive-dump

  • archive-restore


    Expand a site archive into a Drupal web site.


    drush archive-restore

    drush archive-restore

  • browse


    Display a link to a given path or open link in a browser.


    drush browse

    drush browse

  • core-cli


    Open an interactive shell on a Drupal site.


    drush core-cli

    drush core-cli

  • core-config


    Edit drushrc, site alias, and Drupal settings.php files.


    drush core-config

    drush core-config

  • core-cron


    Run all cron hooks in all active modules for specified site.


    drush core-cron

    drush core-cron

  • core-execute


    Execute a shell command. Usually used with a site alias.


    drush core-execute

    drush core-execute

  • core-quick-drupal


    Download, install, serve and login to Drupal with minimal configuration and dependencies.


    drush core-quick-drupal

    drush core-quick-drupal

  • core-requirements


    Provides information about things that may be wrong in your Drupal installation, if any.


    drush core-requirements

    drush core-requirements

  • core-rsync


    Rsync the Drupal tree to/from another server using ssh.


    drush core-rsync

    drush core-rsync

  • core-status


    Provides a birds-eye view of the current Drupal installation, if any.


    drush core-status

    drush core-status

  • core-topic


    Read detailed documentation on a given topic.


    drush core-topic

    drush core-topic

  • drupal-directory


    Return the filesystem path for modules/themes and other key folders.


    drush drupal-directory

    drush drupal-directory

  • help


    Print this help message. See `drush help help` for more options.


    drush help

    drush help

  • image-derive


    Create an image derivative.


    drush image-derive

    drush image-derive

  • image-flush


    Flush all derived images for a given style.


    drush image-flush

    drush image-flush

  • php-eval


    Evaluate arbitrary php code after bootstrapping Drupal (if available).


    drush php-eval

    drush php-eval

  • php-script


    Run php script(s).


    drush php-script

    drush php-script

  • queue-list


    Returns a list of all defined queues


    drush queue-list

    drush queue-list

  • queue-run


    Run a specific queue by name


    drush queue-run

    drush queue-run

  • shell-alias


    Print all known shell alias records.


    drush shell-alias

    drush shell-alias

  • site-alias


    Print site alias records for all known site aliases and local sites.


    drush site-alias

    drush site-alias

  • site-install


    Install Drupal along with modules/themes/configuration using the specified install profile.


    drush site-install

    drush site-install

  • site-set


    Set a site alias to work on that will persist for the current session.


    drush site-set

    drush site-set

  • site-ssh


    Connect to a Drupal site's server via SSH for an interactive session or to run a shell command


    drush site-ssh

    drush site-ssh

  • updatedb


    Apply any database updates required (as with running update.php).


    drush updatedb

    drush updatedb

  • updatedb-status


    List any pending database updates.


    drush updatedb-status

    drush updatedb-status

  • usage-send


    Send anonymous Drush usage information to statistics logging site. Usage statistics contain the Drush command name and the Drush option names, but no arguments or option values.


    drush usage-send

    drush usage-send

  • usage-show


    Show Drush usage information that has been logged but not sent. Usage statistics contain the Drush command name and the Drush option names, but no arguments or option values.


    drush usage-show

    drush usage-show

  • variable-delete


    Delete a variable.


    drush variable-delete

    drush variable-delete

  • variable-get


    Get a list of some or all site variables and values.


    drush variable-get

    drush variable-get

  • variable-set


    Set a variable.


    drush variable-set

    drush variable-set

  • version


    Show drush version.


    drush version

    drush version