composer: command not found
-
Hi!
I run
/c/laragon/bin/composer
$ composer -V
As the result I have:
bash: composer: command not found
Could anybody explain why?There are 3 files in /c/laragon/bin/composer directory: composer; composer.phar; composer.bat (windows10)
Do I have composer installed?
How can I check whether composer is installed properly?
-
@dimad3 : How about using Laragon's Terminal (Menu > Laragon > Terminal)?
-
-
In the composer directory, run the
composer.phar
orcomposer.bat
if it opens, check if it works by enteringcomposer -v
-
If it works well there, then you have to add the path. Use Laragon (Menu > Tools > Path > Add Laragon to Path)
-
-
Thank you! Running:
C:\laragon\bin\composer
λ composer -V
from Laragon's Terminal is ok!
Does it mean I should use ONLY Laragon's Terminal for running Composer’s commands?