Thursday, November 26, 2015

Installing Drush on Windows

One of these packages can be used for Windows installation:

6.0
6.6.0
7.0.0 (stable)

As I've already had my XAMPP with Apache server running in C:\xampp, I've changed drush.bat to include path to XAMPP's php folder:

@echo off

SET SCRIPT_HOME=%~dp0
SET PATH=%SCRIPT_HOME%tools\bin;%PHP_PATH%;%PATH%

@php.exe "%SCRIPT_HOME%vendor\drush\drush\drush.php" --php="php.exe" %*

1 comment: