Tutorial by Examples

Drush status drush status This will give you an overview of your Drupal site. Version, URI, database location, file paths, default theme etc. If you use this command and you do not see this information, it means you are in a wrong folder and Drush does not know which Drupal site you are referrin...
In Drupal 7 and lower, your configuration is probably stored using the Features module. To update a feature with changes from the databases use this command: drush features-update [feature-name] // e.g. drush features-update content_type_news You can also use this shorthand: drush fu [feature-n...
Manual Global Installation For OS X and Linux: Bring up Terminal, Bash, or your normal shell. Type the following into Terminal/Bash: # Download latest stable release using the code below or browse to github.com/drush-ops/drush/releases. php -r "readfile('http://files.drush.org/drus...
Manual installation Type below commands in Terminal. php -r "readfile('http://files.drush.org/drush.phar');" > drush chmod +x drush sudo mv drush /usr/local/bin drush init # Add alias in bash startup file. Composer Assuming composer is installed. composer global require drush/...

Page 1 of 1