Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

esaeng's avatar

composer installed but getting this....,composer is not recognized

C:\Users\Q c>composer
'composer' is not recognized as an internal or external command,
operable program or batch file.
0 likes
5 replies
esaeng's avatar

Ive installed it by windows installer. nd Ive set path too

Flor's avatar

Ok.

Have you tried inspecting your PATH environment variable? Just run PATH in your cmd. It should contain: C:\ProgramData\ComposerSetup\bin and also C:\Users\Q c\AppData\Roaming\Composer\vendor\bin

Just some debugging steps to try:

  • Closing all command windows and reopening them - this will "refresh" the PATH.
  • Restarting your computer
  • Uninstall and reinstall composer
2 likes
esaeng's avatar

solved..there was path issue

1 like

Please or to participate in this conversation.