Pros and Cons
- Helps you do lots of admin tasks with only a few command
- Replaces the need for lots of clicks and UI refreshes
- Gives you a quick overview of your working site
- Excellent support network via GitHub
- Requires you to be pretty comfortable with the command line
- It’s difficult (especially compared to competitors) to pass off small tasks to non-tech savvy personnel
- Only runs on Drupal
How to install
There are a couple different ways to install Drush. One way is to simply run the composer.jsm file. Another way is to install one Drush for all your projects, via composer globally install, and still other options include a git clone install or a Windows Zip package. However, the last of these still has limited functionality, and we recommend you run a virtual machine platform for optimal results.
Points to Remember
Drush is an excellent tool — if you’re happy to be working in command lines and if you’re happy in Drupal. However, before you fully hitch your horse to that wagon, You’ll want to consider if you have the technical skill required or the site administrator resource available to get in there and fix or change things if (when) they go mildly pear shaped.
The real benefit of Drush is that if you know what you’re doing and you’re confident that you know what you’re doing, then you can vastly reduce the amount of repetitive action you need to take. However. If you’re not that sure, Drush is likely to be a time sink like no other, so some alternatives are worth taking a look at. WordPress the obvious alterative, since it’s run on templates and can be run in large part from a GUI rather than a command line shell.
Drush requires at least php 5.2, unless you’re using a version older than Drush 3.x (which you’re probably not). You’ll also need the SSH access (via OSX terminal or Putty, if you’re in Windows) as well as PEAR to be on the server, which shouldn’t pose any problems.
Are there any major limitations of Drush?
Only that the site admin needs to be extremely comfortable working in a command line shell.
Is Drush compatible with OSX, Windows, and Unix?
It’s absolutely compatible with OSX and Unix. However, there is only limited compatibility with Windows. it’s generally recommended that you run it through a virtual platform for convenience
What are the requirements for Drush?
You’ll need to have at least php 5.2 for Drush 3.x. For Drush 6.x, You’ll need php 5.3.3.
Can I personalize Drush commands?
Absolutely! Drush’s entire value proposition is that they’re faster that GUIs to implement changes. A big part of that is the ability to make up command shortcuts that work and are intuitive for you.
Can I install a specific version of Drush?
Yes, you can. Drush will install the most stable version automatically, but if you want a specific version you can pick and choose. This is a great option if you’re installing multiple versions for testing, you are having compatibility problems, or you want the latest version (rather than the most stable).
What do I do if I decide I don’t want to use Drush anymore?
No problem. All you do uninstall Drush! it’s a single command: pear uninstall drush/drush.
Can I run Drush from a remote server?
You can. There are actually lots of ways to do this, and you can even run Drush from multiple remote servers quickly and easily.
I am trying to run Drush on a remote server, but my server provider is telling me that Drush has conflicts with some other modules that the server is already running. Is this a common problem?
Not so much, but it’s not unheard of. The best thing you can do is find out specifically which modules are experiencing the conflict and then go from there.
Looking for the right Drupal host?
SiteGround’s Drupal plans come with Drush pre-installed. This host is rated #1 by our readers and is known for their fast, secure hosting and excellent customer service. You can currently save up to 67% on their plans by using this discount link.
Other features in Tools
About Spencer Grover Spencer studied politics and psychology at university in New Zealand, which sparked his interest in efficient communication. His interest in technology just developed along the way. When he's not writing, he's usually attempting to bake sourdough while listening to "This American Life."