any help please DB : XAMPP , logiciel : vscode
cake : The term 'cake' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1
By default Powershell doesn't run commands from the current location, you'd for example have to lower protection by adding the directory to your path environment variable (which I wouldn't recommend). Alternatively you'd use .\
before the command, to make it clear that you want to run a command in the current directory, ie .\cake
.
However you should not run cake
from within the bin
directory in the first place, you should run it from the root of your application, ie from within your cakephp
directory, so that you'd use:
bin\cake bake
See also