This manual enables you to use Vagrant on your Windows machine.
- Download VirtualBox and the corresponding Extension Pack: https://www.virtualbox.org/wiki/Downloads
- Install VirtualBox with the default settings
- Add the Extension Pack to VirtualBox (File -> Preferences -> Extensions)
- Download Git: https://git-scm.com/download/win
- Install Git with the default settings
- Download Vagrant: https://releases.hashicorp.com/vagrant/2.3.7/vagrant_2.3.7_windows_amd64.msi
- Install Vagrant with the default settings
- Reboot Windows
- Open your Git Bash or your Powershell, which should also work
- vagrant plugin install vagrant-winnfsd # used for fast NFS shares
- vagrant plugin install vagrant-vbguest # used for automatic VirtualBox guest addition updates
Chocolatey is a package manager for Windows.
# Start Powershell as administrator
# Install chocolatey if it isn't installed yet
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
# Install Git VirtualBox and Vagrant
choco install git virtualbox vagrant
# Refresh environment variables
refreshenv
# Install Vagrant Plugins
vagrant plugin install vagrant-winnfsd
vagrant plugin install vagrant-vbguest
# Reboot Windows
- Open your Git Bash or your Powershell, which should also work
- git clone https://github.com/neikei/install-vagrant-on-windows.git
- cd install-vagrant-on-windows
- vagrant up
- ... wait ...
- vagrant ssh