Other Ways To Install Homestead
Via Composer
There are other ways to run homestead on your computer , the way that we use in the last chapter we don't need to have anything installed in our machine despite of vagrant. I will supose that you have php and composer installed :
´´´ composer global require laravel/homestead ´´´
Export .composer to the $PATH variable
´´´export PATH=~/.composer/vendor/bin:$PATH´´´
Go to your project folder and include homestead to the list of required dependencies
´´´composer require laravel/homestead --dev´´´
Once you have installed the Homestead CLI tool and added homestead vendor, run the homestead make command to create the Homestead.yaml configuration file:
´´´homestead make´´´
You are ready to fly now!
´´´vagrant up´´´