Reputation: 17
I am trying to install the homestead vagrant box for developing purposes. I followed this guide, but when i use homestead init
i get this error: 'homestead' is not recognized as an internal or external command, operable program or batch file.
although i have ~/.composer/vendor/bin
added to my PATH enviroment.
Does anyone know how i can solve this problem?
Upvotes: 1
Views: 3957
Reputation: 134
Try downgrading to Homestead 2.0.7 - there are currently some problems with Windows path to home folder.
Edit your composer.json file in %appdata%\Composer and change your laravel/homestead dependency to:
"laravel/homestead": "2.0.7"
Then run composer update
on the file.
That worked for me!
See the bottom of this post: http://mikesinn.com/development/how-to-install-composer-in-windows/
Upvotes: 1
Reputation: 895
add this location C:Users/m_000/AppData/Roaming/Composer/vendor/bin.
into path window then run homestaed init
Upvotes: 1