Reputation: 84
A few weeks ago I accidentally deleted a bunch of paths from my environment variables and I just now realized I cannot use the composer command in cmd.exe
.
I'm pretty sure I used the default settings as they were but I have no idea what path was/what to add to the PATH
environment variable.
Upvotes: 1
Views: 322
Reputation: 91
Open the command line and write
WHERE /R C:\ composer
you will get the path of composer you have
so you can add the path (the directory in which the composer executable is located):
C:\ProgramData\ComposerSetup\bin
to your environment variables and continue using composer
Upvotes: 1