When I run behat -v (or any other Behat command) in Git bash I get the following error
bash: behat: command not found
It works fine in the Windows command prompt.
I've tried installing Git with different options such as 'Use Git from Git Bash only', 'Use Git from the Windows Command Prompt', 'Use MinTTY', 'Use Windows default console window', but nothing has worked.
I installed Behat version 3.2.2 local to a project using Composer.
Does anybody know how to fix this?
As mentioned in "INSTALLING BEHAT (WINDOWS 7)", make sure your
%PATH%environment variable includesC:\Behat\binin your CMD shell session.And
<path\to\Git>\bin(which includesbash.exe)Then in that same shell, type
bash: check thatbehatworks.