Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I installed Drush like this:
It works fine when I am centos user, when I switch user to aegir it doesn't work.
When I do which drush I get:
How can allow user aegir to use Drush?
Try to create a symlink to let all user access drush.
sudo ln -s /usr/local/bin/drush /usr/bin/
if not worked try
sudo ln -s /usr/local/bin/drush /usr/share/bin/
Required, but never shown