WP Cli will not execute on Windows

Currently i have several process running in my CI/CD with wp-cli and all works fine in windows and unix. In my experience this is your best option in windows:

#1 Add PHP to your Windows Path Variable

#2 Install, as @Rup suggests, Git-bash terminal.

#3 Execute an wp-cli command like that:

vendor/bin/wp cache flush --path=public/wp-cms/wp-core

*This code consider you are using wp-cli managed with composer, and the files are locatted at vendor folder, otherwise you can replace vendor/bin/wp with wp

enter image description here