Node Body | Modules Unraveled
Create the aliases file
Now, let's create a Drush alias file so that we can more easily interact with our site. Drush alias files should be created in a ".drush" directory in your user directory on your computer. The name of the file should follow the pattern "<site-short-name>.aliases.drushrc.php". For example, I'll create one for this site with the following command:
vi ~/.drush/d8.aliases.drushrc.php
Then, we create an alias for our local site like so: