Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I natively installed ubuntu with the package manager through apt-get install drush .

After a find i discovered that they're natively installed at /usr/share/drush.

My question is the following: is it possible to add aliases with the ubuntu brewed drush? If so where? in the /usr/share/drush/ folder?

The ubuntu version seems to be missing the example folder as well as some other files: ini, topic files.

share|improve this question

migrated from Dec 2 '11 at 9:07

This question came from our site for Drupal developers and administrators.

up vote 2 down vote accepted

For instructions on creating aliases, see drush topic docs-aliases, which can also be found at

The best place to put global aliases would be in /etc/drush; user-specific aliases should go in $HOME/.drush.

share|improve this answer
Thanks Greg. Welcome to too btw. – chrisjlee Dec 7 '11 at 19:05

You can create a folder in your drush folder called 'aliases'. In that folder you can create a file aliases.drushrc.php (or project specific -> myproject.aliases.drushrc.php) and i guess it should work then. so first try /usr/share/drush/aliases/aliases.drushrc.php, and see if that works.

If you put the drush location in your path, you can place the alias file in a drush folder in your home directory

there's more linux specific info in the readme.txt

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.