Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Latest commit

 

History

History
35 lines (28 loc) · 982 Bytes

installer.md

File metadata and controls

35 lines (28 loc) · 982 Bytes

Using the Drupal Console Installer

You can install the Drupal Console locally by running the installer in your project directory, the installer will take care of downloading the necesary files to run drupal console on you computer.

Using curl:

$ curl https://drupalconsole.com/installer -L -o drupal.phar

Or if you don't have curl:

$ php -r "readfile('https://drupalconsole.com/installer');" > drupal.phar

You can now execute using:

$ php drupal.phar

You can place this file anywhere you wish. If you put it in your PATH, you can access it globally. On unixy systems you can even make it executable and invoke it without php.

Access from anywhere on your system

$ mv drupal.phar /usr/local/bin/drupal

Apply executable permissions on the downloaded file:

$ chmod +x /usr/local/bin/drupal

You can now execute using:

$ drupal

NOTE: The name drupal is just an alias you can name it anything you like.