Updating modules and themes requires ftp access to your server quotes about your best friend dating the guy you like

6854933580_2c8b688306_z

Drush is an awesome shell interface for managing Drupal right from your cloud server command line.It is a very useful tool as it helps you perform various admin tasks using just one or two commands in the terminal, replacing the need for many clicks and page refreshes in the UI.Doesn't really matter where you are located, as long as you are somewhere within the root folder.To begin, first navigate your Drupal folder directory: This will give you an overview of your Drupal site.This scripting shell should be additionally installed on your hosting server in order to benefit from its features.It is pre-installed on the Site Ground servers and you can use it with your Drupal Hosting package.

If you have doubts about what is that name, you can easily retrieve it from the module project page URL: drupal.org/project/views. Additionally, you can specify multiple module names separated by one space if you want Drush to perform the actions on all of them. Themes are also projects that you can dowload and enable using the same commands.

Second, you need SSH access to your account in order to run Drush commands.

This tutorial explains how to use Drush in order to backup and update your script, install and activate Drupal extensions, remove them and clear the script’s cache.

In Drush, this is also separated into two commands, but you can also have them under one single command.

But first, you can check if there are any available updates using the following command: command, but that automatically answers "no" to any questions (so as to prevent actual updates being done) and that shows only terminal rows which contain available updates (so as not to have a cluttered screen).

If you want to update everything at once (not recommended), you can just run the command.

You must have an account to comment. Please register or login here!