woudwijk
woudwijk

Reputation: 17

Laravel/homestead installation issues

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

Answers (2)

Mike P. Sinn
Mike P. Sinn

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

hjvcghcghchg
hjvcghcghchg

Reputation: 895

add this location C:Users/m_000/AppData/Roaming/Composer/vendor/bin. into path window then run homestaed init

Upvotes: 1

Related Questions