Intro to Drush John Bickar Cubberley Education Library Stanford University
What’s Drush? http://drupal.org/project/drush It is and it isn’t a Drupal module
Basic Command Line Syntax Command Options Directory and/or target ls -alh ~/ man ls i.e., Read The Free Manpage
3 Steps Download/install Create alias Use it!
Step 1: Install it 2 ways GUI Command Line curl  http://ftp.drupal.org/files/projects/drush-All-Versions-2.1.tar.gz  | tar zxv NB: There is a  drush package for Debian linux; installed on Stanford servers (corn cluster)
Step 2: Create an alias echo $SHELL vi .bash_profile If it’s not there you’ll need to create it alias drush=‘path/to/php path/to/drush/drush.php’ You may need to run the command ‘source ~/.bash_profile’ for the alias to take effect
Step 3: Use it! cd to your Drupal install directory drush help drush dl tagadelic drush enable tagadelic drush -y disable tagadelic drush -s update
Drush on Techcommons https://techcommons.stanford.edu/topics/drupal/drush
Questions? Suggestions? Tomatoes?
Contact Me John Bickar [email_address] cubbtech on d.o

Intro to Drush

  • 1.
    Intro to DrushJohn Bickar Cubberley Education Library Stanford University
  • 2.
    What’s Drush? http://drupal.org/project/drushIt is and it isn’t a Drupal module
  • 3.
    Basic Command LineSyntax Command Options Directory and/or target ls -alh ~/ man ls i.e., Read The Free Manpage
  • 4.
    3 Steps Download/installCreate alias Use it!
  • 5.
    Step 1: Installit 2 ways GUI Command Line curl http://ftp.drupal.org/files/projects/drush-All-Versions-2.1.tar.gz | tar zxv NB: There is a drush package for Debian linux; installed on Stanford servers (corn cluster)
  • 6.
    Step 2: Createan alias echo $SHELL vi .bash_profile If it’s not there you’ll need to create it alias drush=‘path/to/php path/to/drush/drush.php’ You may need to run the command ‘source ~/.bash_profile’ for the alias to take effect
  • 7.
    Step 3: Useit! cd to your Drupal install directory drush help drush dl tagadelic drush enable tagadelic drush -y disable tagadelic drush -s update
  • 8.
    Drush on Techcommonshttps://techcommons.stanford.edu/topics/drupal/drush
  • 9.
  • 10.
    Contact Me JohnBickar [email_address] cubbtech on d.o

Editor's Notes

  • #2 John Bickar User Services Technology Specialist, Cubberley Education Library