Installing Drush via Composer

Since the standard drush installation could bring to some issues, we prefer to install drush via Composer, following the steps below.

Install drush globally via composer:

$ composer global require drush/drush

Make the drush command globally available, on Mac:

$ ln -s ~/.composer/vendor/bin/drush /usr/bin/local/drush

or on Ubuntu:

$ ln -s ~/.composer/vendor/bin/drush ~/bin/drush

Check the installation:

$ drush core-status


  • Lenin Jose Meza Zarco

    In CentOs 7, i need to install php-xml and create the symbolic link:

    $ sudo ln -s ~/.config/composer/vendor/bin/drush /usr/local/bin/drush


Category BootstrapCategory CoffeescriptCategory DrupalCategory GravCategory HTMLCategory JavascriptCategory JoomlaCategory jQueryCategory LaravelCategory MagentoCategory PHPCategory SharePointCategory SpringCategory ThymeleafCategory WordPressCategory Workflow


Developed and designed by Netgloo
© 2019 Netgloo