Miscellaneouss

How To Install Drush On CentOS

Install-drush-on-CentOS
mm
Written by Santosh Prasad

Drush allows you to perform all types of Drupal specific tasks easily from the command line without going through the Drupal interface. It is a command line shell and scripting interface for Drupal.

Install Drush On CentOS

Follow the below below steps to install Drush.

First make sure pear is installed on your server by running the below command:

# pear version

If pear is not installed, run the below command to install pear.

# yum install php-pear

Now run the following command to allow pear to recognize drush.

# pear channel-discover pear.drush.org

Then install drush using below command:

# pear install drush/drush

After installing drush execute the below command to make sure Drush is successfully installed.

# drush status

Congratulations! You have successfully installed Drush on CentOS.

Thanks:)

About the author

mm

Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

Leave a Comment