Using gpm php : No such file or directory

Dear all,
I hope you are all safe and well.
I’m trying to use GPM comand, through git bash.
As you can see from th picture below, I opened the terminal inside the grav folder and execute a simple comand.

image

But the response is not what I expected. What I’m doing wrong?
thanks a lot
all the best.

Try

php bin/grav ...

Thank you Karmalakas:
I’m using cmd from windows this time.
I’m working inside the folder grav:
C:\xampp\htdocs\grav

‘>php bin/grav list’
I got this:
'php' is not recognized as an internal or external command, operable program or batch file.

What I’m doing wrong?
any clue will be very much appreciated.

Sounds like you don’t have a php.exe added to your PATH env variable.

1 Like