Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 846
Andru Avatar asked Jan 06 '16 21:01

Andru


1 Answers

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

like image 179
Matt Inamdar Avatar answered Sep 21 '22 14:09

Matt Inamdar