grav: 'bin\grav' is not recognized
I’m trying to install grav on Azure running on Windows.
git clone https://github.com/getgrav/grav.git
bin\grav install
I tried with full path too.
The output is 'bin\grav' is not recognized as an internal or external command, operable program or batch file.
I’m using PHP 5.6.10
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 17 (8 by maintainers)
bin\gravis a PHP script which on Windows will not automatically be found and executed from the cmd shell. I run it on my WAMP installation by calling the PHP interpreter explicitly like this:I can confirm that
bin/gravwill not work on Windows 10 from either Git Bash, Node.js Command Prompt or Powershell, if your PHP executable is in your path. You will still need to runphp bin/gravin that case, which works perfectly. 👍Don’t take my example verbatim. You have to adjust it so you execute the PHP interpreter and its location depends on your installation. Check that the PHP interpreter is run correctly using this command and make sure your path is set correctly:
or
Glad I came across this thread. I’m running a 64 bit version of WAMP and this worked for me:
There was an error, same as @abumalick got:
but everything seems to be working fine.
Should this be put on the Troubleshooting page of Grav Learn?