Lately I was trying to install drush for the first time. This is what I did..
- Installed the drush tool manually
- Extracted and renamed the tool to
/Library/Drush
- Gave the
/Library/Drush/drush
tool execution permissions. - Created an alias for drush in
~/.bashrc
- Tried to bash drush by entering the alias
drush
, that's when I got the first problem:Unable to load autoload.php. Drush now requires Composer in order to install its dependencies and autoload classes. Please see README.md
- After lots of searching I tried way to many things:
which drush
doesn't return anything.- Installing the composer (at
/usr/local/bin/composer
) results in thisThe requested package drush/drush 1.0.0 could not be found
problem when executingcomposer global require drush/drush:dev-master
Help would be appreciated, because I don't know what I could do to make it work.
Thank you in advance, `F.
brew install drush
is all you need