Composer, Drush & Drupal 8.4.0

On my system (Debian 8.3) I was using Drush 9.0-dev (I know, you should never use a dev version in production but I did this before I knew any better).  To make a long story short I tried to change my drush version to the latest (at this time 8.1.13).  I researched what I needed to do to make this change but nothing worked.  I ended up having to remove (rename the syslink) and then installed the version I wanted with composer.

To remove (rename) the old version of drush:
     1)  rename /usr/bin/drush to /usr/bin/drush.v9
     2)  rename directory  /usr/local/src/drush to  /usr/local/src/drush.v9-dev  
           #optional but if you don't rename it you can use
           Drush 9.0-dev by issuing the command drush.v9

To install Drush 8.1.13:
     1)  composer global require drush/drush:8.1.13
     2)  export PATH="$HOME/.composer/vendor/bin:$PATH"
     3)  source ~/.bash_profile

 

 

Comments

Simple and valuable substance are generally useful to perusers to get great kind of records. I've look at an article which changed into truly basic and huge. Such obvious posts are making interest in examining. Keep up sharing such great posts.. I actually have some sensible work expertise with best essay writing service and my words ar clearly supported what I felt through such processes within the past.

Add new comment

Filtered HTML

  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.