Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
composer command not found in GitBash #5091
I use gitbash v2.7.12
When I run this command:
I get this output:
And I expected this to happen:
I even tried to add
You can't run .bat files in Git Bash, so Git Bash is looking for a file called "composer", which doesn't exist. You could rename composer.phar to just composer and it would work in Git Bash.
I would personally recommend deleting the whole folder and reinstalling composer using the official installer. This will take care of setting your PATH correctly.