Installing Drush On Windows 10 For Drupal 8

Ahmed Thaajwer
D6 Digital
Published in
3 min readMar 30, 2019

Drush Version And Supported Drupal Versions.

Here I explain the short way to install Drush on MS Windows 10.

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 task using just one or two commands in the terminal.

Drush has the dependency of the composer.

Requirements:

  1. Composer, You can download and install the composer using this link https://getcomposer.org/Composer-Setup.exe
  2. Drush is now located on GitHub. you can easily find it using this link https://github.com/drush-ops/drush

Ok, let’s see the steps to install drush

STEP-01

In c-drive create folder mkdir /usr/local/src and go to the particular path cd /usr/local/src

STEP-02

Then, type this command line the particular directory.

git clone https://github.com/drush-ops/drush.git

STEP-03

Then, type composer install

STEP-04

After that,go to the folder /usr/local/src/drush/drush and type chmod u+x and, go to the folder /usr/local/src/drush/drush.bat and type chmod u+x

STEP-05

This step is an important one for drush installation. as we have to set up the environment variables to include this directory in our path setting.

  1. Right click on My Computer and select Properties and select advance system setting. You will get this window.

2. click Environment variables and you will get this window.

3. In the system variables, select the path and click edit, this window will popup

4. Then, copy the path from here.

5. Then, In edit environment variable window, select the option New and paste the particular path that you have copied from the above.

Then finish the environment variable setup (ok, ok, apply)

STEP-06

Then, Check by c:\usr\local\src\drush>drush status

That's it congratulations, you have installed drush successfully :)

--

--

Ahmed Thaajwer
D6 Digital

B.Sc.(hons) in Computing & Information System(SUSL). Former Software Engineer@D6 Digital. IEEE Brand Ambassador@IEEE. Regional Country Director@UYG.