Skip to main content

Posts

Showing posts from February, 2016

Installation of Drush for Drupal through composer

What is Drush ? Drush  is a command-line interface specifically made for dealing with Drupal. It provides a much faster management experience and is recommended if you are not afraid of using the command line. 1. Clone Drush master branch from git We want to get the master branch from the Drush github repository. This will be placed under “usr/local/lib” as a new folder named “drush”. Launch your Terminal and type: > cd /usr/local/lib/ > git clone --branch master https://github.com/drush-ops/drush.git if suppose after executing the above command , if it says "permission denied" you can just try getting permission or else just change the directory and install it over there for time being .... which solves your problem , but not a permanent solution  Note:-  2. Get composer Drush 8 requires composer to install, so you need to get that if you don’t have it already. We also want to move composer to /usr/local/bin/ so that it’s easier to use. > curl