Install drush on windows

0 votes
283 views
added Sep 5, 2017 in Drupal by anonymous
edited Jul 13, 2018 by LC Marshal
  1. Install Cygwin (http://www.cygwin.com/ )
  2. Install ncurses package. You need to select ncurses manually in cygwin setup. If you miss to install this you will get an error message that tput is missing.
  3. Install Git package
  4. Install bsdtar package or you cannot restore archives and get errors like Unable to untar and Unable to extract site archive tarball.
  5. Install Curl package or you cannot disable modules.
  6. Now install Composer for Windows globally. (https://getcomposer.org/doc/00-intro.md#installation-windows)
  7. Install Drush the common way. e.g. Drush 7.x (stable): 
    composer global require drush/drush:7.*

     

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...