Homestead on Windows 10: The definitive guide
Created 8 years ago by markbratanovTry as you might, Windows isn’t very nix friendly. Developing locally is a wonky experience that is far from the poetic solutions found on Mac. But alas, that is no longer true. Homestead on Windows 10 can run comparably to Homestead on OSX.
The secret sauce
You’ll need to download and/or buy the following suite. Each one has their own installation manual, which requires nothing special, so I am simply linking installation guides to each.
- VMWare Workstation Pro 12
- Vagrant
- vmware-workstation plugin for Vagrant
- winnfsd plugin for Vagrant
- Homestead v3.0.2
After you’ve initialized Homestead on your computer, you’ll want to edit the .yaml
to look like this:
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: vmware_workstation
folders:
- map: ~/Code
to: /home/vagrant/Code
type: "nfs"
mount_options: ['nolock,vers=3,udp,noatime']
Key things to note in the yaml above are the provider vmware_workstation
and the folder's type
and mount_options
.
If you do these things, you should experience faster performance on your local development environment. I personally am getting around ~.40ms on average in the CP.
Best of luck!
Nicely done, thanks!