Installing Laravel Homestead on Windows

What is Laravel Homestead?

Homestead is the virtualised IDE methodology rather than an individual application.

Homestead provides the ability to publish your Laravel installation to a virtual machine and to manage that environment remotely.

It's perfect as a development environment where you can store your Laravel code on your local workstation and share that folder to the virtual machine.

To add to this, if you're storing your development on a Github repo, or to a cloud drive such as OneDrive, you can use your synchronised drives to store everything and in the case of Github, develop and publish on a Linux box via the shared folder from your Windows machine while writing your code in Visual Studio Code, saving to your Windows workstation machine.

If you ever need to share your code-base you can take a copy of your Homestead configuration, include it with your project files and all someone you're sharing your codebase with needs to do is install Git, VirtualBox and Vagrant, then run the "vagrant up" command from their project directory, which will create your project and set it up the same as your system configuration is set up; simple as that!

Homestead is a great, adaptable Laravel virtualisation tool and will also assist greatly with familiarising yourself with Docker and virtualisation technology. 

Installing Git

Firstly we're going to need Git Bash (the bash command line prompt from the Git package), so if you don't already have Git installed, get the latest release version for Windows via the following link:

Download Git v2.39.2 (64-bit)

Installing VirtualBox

We're going to use Oracle Virtualbox as our virtualisation platform. You can also use Parallels, though Virtualbox is free.

Downloading VirtualBox

So let's download Virtualbox from the following link:


At the time of writing, 7.0.6 was the latest version of VirtualBox.

Installing VirtualBox

To install VirtualBox you can simply install the default settings and "Next, Next, "Next" through the installer.

If you haven't installed Python you may need to install this if you haven't already, though the VirtualBox installer will do this for you.

Installing Vagrant

To install Vagrant is simple.

Downloading Vagrant

Just download the appropriate installer for your architecture.

Download Vagrant 2.3.4 (amd64)

Download Vagrant 2.3.4 (i686)

You need to ensure when running Vagrant and VirtualBox that you have enabled virtualisation in the BIOS of your PC.

Configuring our Homestead environment

To configure our Homestead environment, much the same as a standard Laravel project

Name

false
ltr
static_page
Tech Lab: Installing Laravel Homestead on Windows
Installing Laravel Homestead on Windows
Tech Lab
https://techlab.connektiv8.com/p/installing-laravel-homestead-on-windows.html
https://techlab.connektiv8.com/
https://techlab.connektiv8.com/
https://techlab.connektiv8.com/p/installing-laravel-homestead-on-windows.html
true
5093225316588518036
UTF-8
Not found any posts Not found any related posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU Tag ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Contents See also related Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network