title: How to properly set up drush 9.7.0 on Windows 10
body: <p>I am working on trying to set up and learn drush for the first time on a Drupal 8.7.3 site on Aqui DevDesktop which i installed with composer. This is the first time I have tired composer, and drush is <strong>completely</strong> new to me. (I was really impressed with the efficiency of composer with installing modules BTW... I am a complete noob to this stuff and it was rather easy)</p>
  
  <p>To get drush I followed the directions provided at: <a href="https://docs.drush.org/en/master/install/" rel="nofollow noreferrer">https://docs.drush.org/en/master/install/</a> and ran:</p>
  
  <pre><code>composer require drush/drush
  </code></pre>
  
  <p>which gave me drush 9.7.0</p>
  
  <p>I am able to get the command line to recognize drush status from <strong>any directory</strong>:</p>
  
  <pre><code>drush status 
  
  Drupal version : 8.7.3
  Site URI       : http://default
  PHP binary     : C:\xampp\php\php.exe
  PHP config     : C:\xampp\php\php.ini
  PHP OS         : WINNT
  Drush script  :C:\Users\user\Sites\devdesktop\drupalup_comp\vendor\drush\drush\drush
  Drush version  : 9.7.0
  Drush temp     : C:\Users\user\AppData\Local\Temp
  Drush configs  :
  C:/Users/user/Sites/devdesktop/drupalup_comp/vendor/drush/drush/drush.yml
  C:/Users/user/Sites/devdesktop/drupalup_comp/drush/drush.yml
  Drupal root    : C:\Users\user\Sites\devdesktop\drupalup_comp/web
  Site path      : sites/default
  </code></pre>
  
  <p>The trouble I am having is the command line doesn't want to recognize commands relative to the site itself. The documentations says that drush should be run from:</p>
  
  <pre><code>vendor/bin/drush
  </code></pre>
  
  <p>but there is no drush directory <strong>folder</strong>  just the file and application within the bin directory. (maybe that's my problem?) </p>
  
  <p>For example when i run:</p>
  
  <pre><code>C:\Users\user\Sites\devdesktop\drupalup_comp\vendor\bin&gt; drush en migrate_tools
  </code></pre>
  
  <p>I get:  </p>
  
  <pre><code>"Command pm:enable was not found. Drush was unable to query the database. 
  As a result, many commands are unavailable. Re-run your command with -- 
  debug to see relevant log messages."
  </code></pre>
  
  <p>I have run the --debug, but was not smart enough to make heads or tails of it :). I am way over my head here, so I hope I have provided enough info for this to make sense. From the little bit I have gathered this could be a path issue? Any pointers would be much appreciated!</p>
  
  <p>PS:
  Composer installs modules like butter so quit crying about it and get with the times. If I can do it, you can too!!! :) :)</p>