So i'm trying to setup WP-CLI. I'm working with visual studio code and i installed Git Bash as terminal.
Following WP-CLI installation guide i need to download a file:
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
Works fine and the download seems completed
Second step is to check if it works:
php wp-cli.phar --info
Returns an error:
bash: php: command not found
Looks like Git Bash can't access the PHP Path from Wamp. That's the conclusion i get from this post PHP Command, not found
I can't find a solution to fix this problem, if you guys got one i'd be happy to read it