How to Install Drupal Console
February 04, 2016
This guide provides the required steps for a proper installation of Drupal Console on your system.
1. Download the latest project version
[gist-embed data-gist-id="47a7f40e660154978b45" data-gist-file="install.sh" data-gist-hide-line-numbers="true" data-gist-show-loading="false"]
2. Verify the downloaded file is working correctly
[gist-embed data-gist-id="47a7f40e660154978b45" data-gist-file="test-phar.sh" data-gist-hide-line-numbers="true" data-gist-show-loading="false"]
3. Move the file to a global path on your system and grant it executable permissions
[gist-embed data-gist-id="47a7f40e660154978b45" data-gist-file="mv-chmod.sh" data-gist-hide-line-numbers="true" data-gist-show-loading="false"]
4. Copy the provided configuration files to the user's home directory.
[gist-embed data-gist-id="47a7f40e660154978b45" data-gist-file="init.sh" data-gist-hide-line-numbers="true" data-gist-show-loading="false"]
5. Enable the command autocomplete feature.
[gist-embed data-gist-id="47a7f40e660154978b45" data-gist-file="autocomplete.sh" data-gist-hide-line-numbers="true" data-gist-show-loading="false"]
6. Update to the latest version.
[gist-embed data-gist-id="47a7f40e660154978b45" data-gist-file="self-update.sh" data-gist-hide-line-numbers="true" data-gist-show-loading="false"]
After these steps, the Drupal Console project should be installed and fully functional. Feel free to ask any questions by leaving a comment on this article.
UPDATE (2016-02-09): For those interested in making their terminal look like the images in this article, you can review this guide: Improve your shell using fish and oh my fish