Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

sunrise's avatar

How to install & setup Laravel Homestead on windows?

I am trying installing & setup Laravel Homestead on windows 10,and I follow the documentation,https://laravel.com/docs/master/homestead and I complete these steps, as follow:

1.virtualBox has been installed successfully.

2.vagrant has been installed successfully.

D:\>vagrant --version
Vagrant 1.8.5

3.Homestead Vagrant Box has been downloaded successfully.

D:\>vagrant box add laravel/homestead
==> box: Loading metadata for box 'laravel/homestead'
    box: URL: https://atlas.hashicorp.com/laravel/homestead
==> box: Adding box 'laravel/homestead' (v0.5.0) for provider: virtualbox
    box: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.5.0/providers/virtualbox.box
==> box: Box download is resuming from prior download progress
    box: Progress: 100% (Rate: 524k/s, Estimated time remaining: --:--:--)
==> box: Successfully added box 'laravel/homestead' (v0.5.0) for 'virtualbox'!

Questions:

1、Where is the box file?I can not find it. 2、What should I do next?

0 likes
2 replies
TerrePorter's avatar

Take a look at this post, http://laravel.io/forum/12-13-2014-my-homestead-2-setup-on-windows

The only update is that the new version has the ability to name the virtual machine, in case you run multiple versions.

Another thing, was I downloaded the master.zip from github, you could also use git, git clone https://github.com/laravel/homestead.git Homestead

if you get this error, "homestead.rb:4:in configure': undefined method[]' for nil:NilClass (NoMethodError)", the pathing needs updated in the vagrant file for windows. I'm 99% sure that is what I did to fix my most recent install of homestead a couple days ago. Here is the link for reference, http://laravel.io/forum/08-06-2016-cannot-add-laravelhomestead-as-a-box-windows

Hope that helps.

Please or to participate in this conversation.