I am having issues installing Drush on Mac OSX 10.9.5. I have tried a variety of methods. The most successful have been;
Each method had produced a version of Drush, however each appears old and
drush dl drupal downloads the 6.x version, as does
drush dl drupal 7.x.
Can you please suggest:
1) How to ensure old versions of drush are removed to ensure that a new installation goes smoothly.
2) The recommended method for installing the latest stable Drush version on Mac OSX 10.9.5
I had tried to delete the old drush version manually by removing folders. Now the composer installation method seems to fail as I get:
Pauls-iMac:~ Trotter$ composer global require drush/drush:dev-master Changed current directory to /Users/Trotter/.composer ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) - Installing drush/drush (dev-master 78b1538) Cloning 78b15385ba97890dc3431790494f26d6be99ede9 Failed to download drush/drush from source: The process "git clone --no-checkout 'git://github.com/drush-ops/drush.git' '/Users/Trotter/.composer/vendor/drush/drush' && cd '/Users/Trotter/.composer/vendor/drush/drush' && git remote add composer 'git://github.com/drush-ops/drush.git' && git fetch composer" exceeded the timeout of 300 seconds. Now trying to download from dist - Installing drush/drush (dev-master 78b1538) Loading from cache Skipped installation of bin drush for package drush/drush: name conflicts with an existing file Skipped installation of bin drush.php for package drush/drush: name conflicts with an existing file Skipped installation of bin drush.bat for package drush/drush: name conflicts with an existing file Skipped installation of bin drush.complete.sh for package drush/drush: name conflicts with an existing file
I can see that I don't have drush installed as
what drush gives
No such file or directory and
drush info gives
-bash: drush: command not found