symfony

Drupal Console installation

Submitted by admin on Thu, 03/30/2017 - 08:03

There are two ways for installing the Drupal Console. In both of them, there are two steps. These comments are for Linux or Mac machines.

a) Using composer 

Run this command

$ composer global require drupal/console:@stable --prefer-dist

or this command if you want to keep the commands "drupal site:mode dev" and  "drupal site:mode dev" that were removed in newer releases

$ composer global require drupal/console:0.11.3 --prefer-dist

Etiquetas

Drupal Console compilation

Submitted by admin on Thu, 03/30/2017 - 07:57

This is for the launcher. You have to download a compressed version (tar or zip) from 

https://github.com/hechoendrupal/drupal-console/releases

Next, you have to run inside of the uncompressed folder

$ composer install

$ box build

This will create the launcher drupal.phar. You can move it to /usr/bin/local to make available anywhere.

Do not forget that in addition you must add the Drupal Console each time you work over a Drupal installation

Etiquetas