Drush oneliner

Categories

Component ID

1120826

Component name

Drush oneliner

Component type

module

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This is a simple oneliner that allows you to install Drush on your system by calling simply

curl http://drupalcode.org/sandbox/aaronott/1120826.git/blob_plain/HEAD:/drush_install.sh | bash

This tool has been tested on Linux (ubuntu) but I need help testing it elsewhere. There is another oneliner that, with the right permissions, will allow you to install drush system wide.

curl -s http://drupalcode.org/sandbox/aaronott/1120826.git/blob_plain/HEAD:/drush_install_root.sh | sudo bash

This was taken, and is an adaptation of the script found at https://gist.github.com/394177. There are quite a few modifications, one of which is to check for and use git if available.

Please leave thoughts and comments. I searched for another script like this and only found the one from which I got the start. Thanks @stemount and @KarenS for your great work on that one.