Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
An official installer for Drush is available for Microsoft Windows, providing a convenient method for installing Drush and its needed components. The homepage is at: drush.org/drush_ windows_installer, and it provides current project status, links to the files, and installation instructions. The Windows installer usually lags a bit behind the officials Drush release, illustrated by the rest of the course using Drush 5.8 and the Windows installer still on 5.7.
The Drush installer supports Windows 7, Windows Vista Service Pack 2 or higher, Windows XP Service Pack 3 or higher, Windows Server 2003 Service Pack 2 or higher, Windows Server 2008, and Windows Server 2008 R2. There are also a couple of supported shells, minsw and msysgit which are recommended, the command prompt, and PowerShell. Msysgit is not distributed with the full Drush installer as it's a separate project.
However, it does provide Git in patch support. The full installer for official Git is recommended but Shell installation is not covered in this course. There are some limitations. Most SQL commands will work with SQL Server but the dump database command will not work. SQL-sync is not really working, and Drush make does not work correctly in 5.7. To use the Windows installer, download the installer then run it with the user account that has administrator privileges.
Click Next on the Welcome page, you will be given a number of options. The first three items are required runtimes, leave them alone. The fourth, add support for the Rsync command if you're interacting with Linux and UNIX servers. Register Environment Variables is a useful shortcut that will automatically add all required paths to the Path Environment Variable. The last option, Configure Windows Remote Management, allows remote commands to be used from the client. Where Drush is installed to a remote Windows server where Drupal is hosted.
For more in-depth details on these options refer to the installation guide linked from the bottom of the Windows installer homepage. When I'm done configuring the options, click Next and then Install. If prompted, say yes to run as administrator, then click Finish. Verify that Drush is installed by double -clicking on the Drush command's prompt and typing the following, "drush". In the next chapter, I will demonstrate how to install a site using Drush, how to get information about the site and the modules, and how to manage modules, users, and more.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 101476 Viewers
61 Video lessons · 88227 Viewers
71 Video lessons · 72109 Viewers
56 Video lessons · 103869 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.