5. WHAT'S IT FOR?
• Install Drupal • Much, much more
• Perform Updates
• Download/enable/disable modules
• Synchronize databases/files
• Backups
• Queries
6. INSTALLATION
• Linux package management
• Extract tarball from drupal.org
• Homebrew
• Windows Installer
• PEAR
7. GETTING STARTED
• To get a list of commands
drush OR drush help
• To get help on a command
drush help <command>
• Even more documentation
drush topic
8. NEW TO DRUSH 5.X
• Windows compatibility and installer • Better dumping/syncing
• Drush make now included
• Bash completion script
• Built-in webserver
• Better multisite handling
• Remote sessions
9. INTEGRATIONS!
• Backup and Migrate
• Devel
• Features
• Omega and Zen themes
• Many, many more
10. SITE ALIASES
Aliases are commonly used to define short names for
local or remote Drupal installations
Managing remote sites with drush aliases
Commands like
drush @staging pm-update
drush @staging cc all
11. SYNC DRUPAL SITES
//update the codebase using whatever source control system you prefer.
git pull
//import the database using drush
drush sql-sync @dci.prod @dci.dev
//sync the files directory using drush
drush rsync @dci.prod:%files/ @dci.dev:%files/