Skip directly to content

Drush

Kelly Bell's picture

How to update from drush 3.3 to 4.5 dev on Pantheon

on Thu, 05/12/2011 - 1:55am

1. login to your Pantheon site via SSH 

2. cd /opt 

3. sudo tar czfv old-drush.tar.gz drush (save your old drush just in case) 

4. sudo rm -rf drush 

5. sudo git clone --branch 7.x-4.x http://git.drupal.org/project/drush.git

4. sudo chmod 777 /opt/drush/includes 

5. http://download.pear.php.net/package/Console_Table-1.1.4.tgz

6. copy Table.php to /opt/drush/includes via SFTP

7. rename Table.php as table.inc 

7a. an alternate - and probably better - method is to git clone your "new" drush to your local, perform steps 5-7 on your local, and then commit/push the table.inc file to Pantheon

Kelly Bell's picture

Drush Guides, Resources and Tutorials Collection

on Tue, 11/02/2010 - 12:46pm

Having become obsessed with Drush lately, I've assembled some of the most helpful and comprehensive resources for learning drush - what's about, what it does and tips and tricks for best use of the tool. Above all, I cannot recommend highly enough that you dive in and learn Drush, if you haven;t begun already. Your productivity will increase 1000-fold overnight, and you will be a much happier Drupalist.

If you already use drush, and have a resource or tutorial you'd like to add to this list, please drop me a comment below.

Tags: