Laravel Homestead: Complete setup guide

Laravel strives to make the entire PHP development experience delightful, including your local development environment. Vagrant provides a simple, elegant way to manage and provision Virtual Machines.

Laravel Homestead is an official, pre-packaged Vagrant box that provides you a wonderful development environment without requiring you to install PHP, a web server and any other server software on your local machine.

Installation & Setup

Before launching your Homestead environment, you must install VirtualBox as well as Vagrant. This software packages provide easy-to-use visual installers for all popular operating systems.

Installing Homestead
if you are on windows machine go into your user folder like C:\Users\your user name, then open the terminal/cmder here and run this line below

 git clone 

Then if you don’t have .ssh folder into this directory (C:\Users\your user name) then run this command into cmder terminal

 ssh-keygen -t rsa -b 4096 -C "your"  

Then run vagrant up command, this command will add a virtual box, if it is not available then it will download it for you

 vagrant up  

To ssh in your virtual machine run this command

 vagrant ssh 

To exit


Then we have to map a folder from our local machine to virtual box machine. To do that create a folder into your user directory C:\Users\your user name called web for more click here Laravel Homestead: Complete Setup guide

This guy did a very good job, so don’t forget subscribe on his channel WebDevMatics

Leave a Reply