How to Install Drush in Windows

How to Install Drush in Windows, Drush is a command line shell and scripting interface for Drupal. Drush allows you to download, enable, disable, uninstall, update modules/themes/profiles/translations from the command line in a very simple way. The Drush Package Manager also allows you to update all your modules and even Drupal core with just one command.

Steps to install Drush in Windows

  1. First of all download drush windows installer from website.
  2. After downloading, execute windows installer.
  3. It will starts the drush setup wizard, click on next.
    Install Drush In Windows Step One

    Step One

  4. On Custom Setup, click on Next
    Install Drush in Windows Step Two

    Step Two

  5. On Ready to Install Screen, click on Install.
    Step Three

    Step Three

  6. It will takes few minutes to install drush.
    Step Four

    Step Four

  7. After that it will shows installation success screen, click on finish button.
    Step Five

    Step Five

After installing drush, you can open this from desktop shortcut or from all programs in windows start menu. After that enter simple command drush you will see a screen like this below. A list of all commands in drush.

Drush list of all commands

Drush list of all commands

In current drush 6.0 executable file, there is a bug. If your are opening drush cmd from Windows Start Menu => All Programs. drush commands will not execute, to fix this issue follow these instructions.

  1. Right Click on Windows Start Menu => All Programs => Drush => Drush Command Prompt.
  2. From Drush Command Prompt Properties, Click on Shortcut tab.
  3. In the target input field, enter this below value.
    C:\Windows\System32\cmd.exe /k “cd “”C:\ProgramData\Drush\”” & call ^”C:\Program Files\Drush\DrushEnv.bat^””
  4. After that, try once again by executing command drush in drush command prompt.
    Drush Windows Problem

install drush on windows download drush windows drush windows install drush in windows install drush windows
Vivek Vengala

Vivek Vengala is a Online Entrepreneur, Web Developer from Hyderabad India.

Click Here to Leave a Comment Below 0 comments

Leave a Reply: