'Could not find the alias' error after installing drush alias for Pantheon I'm attempting to get the drush alias to work with Pantheon, but when I try to run drush @pantheon.mysite.dev status I get Could not find the alias @pantheon.mysite.dev. 

I've already installed the aliases by running terminus aliases, but it doesn't seem to be seeing the generated file. I did go in manually to confirm that the alias file was placed inside of the .drush directory.

When I run drush sa, I get the following:

@none
@self
default


I did recently installed drush 9 on my Drupal 8 sites, but I still have a number of Drupal 7 sites running an older version of drush. I understand that the directory structure for drush 9 is different. Do I need to install the aliases for it somewhere else?

Just so you're aware. I installed drush 9 via composer, and I'm using the drush launcher which lives in my bin directory.
If you already have terminus installed, you can use terminus drush instead of your local drush.

The advantage of terminus drush is that it already has everything you need to work with Pantheon.

The disadvantage is that you will have to do some work to set it up with your local dev environment; for that, I would just use your local drush.

So, the workflow looks like this:


Do I need to call a drush command on Pantheon? terminus drush
Do I need to call a drush command on my local dev server? drush