4

I have installed the composer also and the path is also well defined but when I type composer update then the following error appears. 'composer' is not recognized as an internal or external command, operable program or batch file.

Path: C:\ProgramData\ComposerSetup\bin

F:\xampp\php

C:\Users\THEE NES\AppData\Roaming\Composer\vendor\bin

THEE NES
  • 115
  • 1
  • 1
  • 12

1 Answers1

3

You can try to run it in this way because you may not have installed it globally:

C:\ProgramData\ComposerSetup\bin\composer update

If it still doesn't work you have to restart Windows Explorer or your computer not only cmd

Edison Biba
  • 4,384
  • 3
  • 17
  • 33