Should I googled lotsglobally install Drush and use it locally, but could not solved the issue. I am using Php 7.2 with Apache.
or should I am not sure which one is good idea, any one will work for me:use install and use it locally?
- Install Drush globally and then use locally ?
- Or Install Drush site / project wise and use locally?
I installed globally installed it with composer. Then added the PATH to Environment PATH variable i.e.Composer, then added this "CC:\Users\Md. Shafiq Hossain\AppData\Roaming\Composer\vendor\drush\drush" inHossain\AppData\Roaming\Composer\vendor\drush\drush to the PATH. "Md. Shafiq Hossain" is my user name variable.
But when iWhen I change the current directory from command window to "CC:\My Work2\src\Drupal\clientname\projectname"Work2\src\Drupal\clientname\projectname and type "Drush version"drush version
, it gives me the following error:
'C:/Users/Md.' is not recognized as an internal or external command,operable program or batch file
'C:/Users/Md.' is not recognized as an internal or external command, operable program or batch file
TriedI tried with the project wise. InstalledI installed correctly but in command prompt when type "Drush version", giving "Drush is not recognize as internal or external command" messagebut drush version
returns the following error.
Drush is not recognize as internal or external command
If anyone can help me on this will be great!!.