Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
stylenone

Overview

This document describes how to install the Drush application, which allows you to manage Drupal, a popular content management system (CMS).

Warning
titleImportant:
  • You must add Drush on each project via the Composer application.
  • We recommend that you only install Drush on servers with at least 4GB of memory or 2GB of memory with a 2GB swap space.
  • cPanel accounts must possess access to SSH in order to use the Composer application.

Install Drush


Section


Column
width72px


Column

Install Composer.

To install Composer, read our How to Set Up (PHP) Composer document.



Section


Column
width72px


Column

Add Drush as a requirement to your project's composer.json file.

If you have not yet added Drush as a requirement to your project's composer.json file, run the following command:

Code Block
composer require drush/drush

The system will return output similar to the following example:

Code Block
  - Installing drush/drush (9.3.0): Loading from cache





Section


Column
width72px


Column

Install Drush.

To install Drush, run the following command:

Code Block
composer install

The system will return output similar to the following example:

Code Block
  - Installing drush/drush (9.3.0): Loading from cache





Additional documentation

Localtab Group


Localtab
activetrue
titleSuggested documentation

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("apache","php") and label = "whm" and space = currentSpace()


Localtab
titleFor cPanel users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("apache","php") and label = "cpanel" and space = currentSpace()


Localtab
titleFor WHM users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("apache","php") and label = "whm" and space in (currentSpace(),"DOC")


Localtab
titleFor developers

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("apache","php") and space = "DD"