Drush: Difference between revisions
Jump to navigation
Jump to search
Created page with "To use drush you have to be somewhere in the site directory as the siteuser (ie not root!) Download a module <pre> drush dl modulename </pre> Enable a module (and download a..." |
No edit summary |
||
Line 14: | Line 14: | ||
<pre> | <pre> | ||
drush pm-update modulename | drush pm-update modulename | ||
</pre> | |||
or | |||
<pre> | |||
drush up modulename | |||
</pre> | </pre> | ||
Latest revision as of 10:35, 7 May 2014
To use drush you have to be somewhere in the site directory as the siteuser (ie not root!)
Download a module
drush dl modulename
Enable a module (and download and enable all dependencies!) after download
drush en modulename
Update a specific module
drush pm-update modulename
or
drush up modulename
Update everything at once
drush up
Update just the core and not the modules also (handy if you want to do it step by step!)
drush up drupal