Going in circles trying to figure out the right way to install Drush on a Linux CentOS system. I have Git set up, but as I'm not planning to contribute to Drush code at the moment, it's not unambiguously clear that I should be using Git.
Some directions say to use PEAR, but when I go to the Drush project page, the directions say to get Drush 6 from Git. Tutorials I have found demo wget and PEAR, not Git. And the Git project page View says, "Use our Github project for contributing code, or reporting bugs, or requesting features," none of which applies.
Could an experienced Drupalista please answer the following?
- Is Git now the only method of obtaining Drush? Someone asked a similar question more than a year ago when PEAR was still recommended.
If Git is the way to go, I have read that drush should not be installed within the website directories, so which directory is it recommended to be in when I invoke the following?
git clone --branch 7.x-5.x http://git.drupal.org/project/drush.git
I'm looking forward to using Drush. Thanks!