Laravel 4.2 install on windows
I want to install Laravel 4.2 to install some packages via Composer. However, I get the error
"failed to clone git @ github.com: symphony / Translation.git.git not found. Make sure it is installed in your env path. 'git is not recognized as an internal or external command"
I want to use version 4.2.0 which is an older version of laravel. Im loading successfully if I don't mention the version number, but not when I include the version number. I tried:
C:\xampp\htdocs\laravel composer create-project laravel/laravel newapp 4.2 –prefer-dist
or
C:\xampp\htdocs\laravel composer create-project laravel/laravel newapp –prefer-dist 4.2.0
or
C:\xampp\htdocs\laravel composer create-project laravel/laravel newapp –prefer-dist 4.2.*
or
C:\xampp\htdocs\laravel composer create-project laravel/laravel {{newapp}} 4.2.* –prefer-dist *
All with the same error ...
What do I need to make it work? Do I need to install git, but how? i don't know, thanks for your help.
Note. I have the latest composer uploaded yesterday July 24th.
source to share
Lynda was a good source of information for me to learn Laravel (4.2), and if I remember there was a course that went into detail about installing Laravel on Windows I could be wrong, but if you already have Git installed it will also need to be added as a variable in your paths to be used in your prompts.
The link below should help you set paths in Git, and they should be something along those lines.
;"C:\path\git\bin";"C:\path\git\cmd"
source to share
I quickly downloaded and installed GIT, no idea what to choose (command line option used) as Romain suggested, reboot and try again and it worked. Lynda does have a chapter on installation but doesn't mention GIT, so following the instructions failed. Note: only trying the previous version failed, it was ok for the latest laravel 5 before installing Git. Thanks everyone ... one day lost trying and testing but happy ending :)
source to share