Install Drush inside my Drupal 8 site

Hi All,

I have drupal 8.5 site in my XAMPP locally windows 10 machine.

Have composer installed in my windows machine and use composer to handle everything.

Use composer installed Drush 9.2.1 global.

when run ‘drush version’ got the following error:

‘ ‘C:xampphtdocsdrupal8/vendor/drush/drush/drush’ is not recognized as an internal or external command,
operable program or batch file’

have all of the PATH variables edit in my windows system variables.

Use GIT Bash to run got the same error msg.

I followed the instructions here:

Followed this: as well but no luck.

If i run ‘drush version’ under ‘c:’, it looks good.

The global drush version and site drush version are same as i checked.

Any suggestions will be so appreciated.

Thanks in advance.

Drupal version: