By phannphong, 17 March, 2019

Following these below steps to install Drush 8 (Ubuntu and MacOS):

The current version of Drush 8 when I writing this article is 8.2.1

1. Choose the latest version of Drush 8 in the below link: 


You can choose v8.2.2 and download the drush.phar. You can use the bellow command line to download it:

wget https://github.com/drush-ops/drush/releases/download/8.2.1/drush.phar

Note: to use the wget command line, you need to install it first.

By phannphong, 21 February, 2019

Drush is a supporting tool, which is important for any Drupal developers. It helps executing a task with many steps simpler through one command. It's also really helpful in deployment process through integrating it in script.

I will share some basic Drush commands that I usually use:

1. Clear cache / Cache rebuild.

For Drupal 7

drush cc all

For Drupal 8/9

drush cr

2. Delete all tables in the database (available on Drupal 7/8/9).