Andru Andru - 3 years ago 210
PHP Question

homestead init not defined

While installing homestead following the official installation instructions of version 4.2, I received the following error message when executing

$ homestead init
:
error message

i.e.

[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "init" is not defined.


My step before that was to install homestead with
composer global require "laravel/homestead=~3.0"


I installed
Laravel Homestead version 3.0.1
and
homestead
is in my
PATH
.

Answer Source

Hmmm I remember having this problem when I was first installing homestead. I can see the link you provided is in relation to Laravel 4.2. Following the homestead installation from the 5.2 docs seemed to be fine for myself however:

Laravel Homestead: Installation & Setup

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download