Hands-On DevOps with Vagrant
上QQ阅读APP看书,第一时间看更新

Installing Vagrant on Windows 10

It's time to install Vagrant. The following steps are for the installation of Vagrant:

  1. Visit the official Vagrant website, https://www.vagrantup.com/. The best way would be to use your system's internet browser, such as Firefox. We will stick with the most current, up-to-date version of Vagrant.
  1. Click on the Download 2.0.4 link or the Download link in the top navigation menu. You should see the downloads page.
  2. We can focus on the Windows section, but you will need to choose either the 32-bit or 64-bit option, depending on your system. My system is a 64-bit one, so I will be choosing that option. The download should start automatically. 
  3. Choose Run, which will download the software and start the installer automatically.

Once the download has finished, the installer should start. You'll be presented with the welcome screen of the installer:

  1. Click on the Next button to continue.
  2. Once you have read the terms and conditions, if you are happy and agree, then tick the option. Click the Next button to continue.
  3. You can change the installation destination if required. When you are happy, click the Next button to continue to the next screen.
  4. You have the option to make any changes before Vagrant is installed onto your system. If you don't want to make any more changes, click on the Install button.
  5. The Windows UAC will ask you whether you are happy to allow the installer to continue. Click on the Yes button.
  6. Vagrant will start the installation. If you need to cancel for any reason, click on the Cancel button.
  7. After the successful installation of Vagrant, click on the Finish button to close the installer.
  8. You must restart your system for Vagrant to be fully installed on your system.
  9. Click on the Yes button to restart. This will disturb any work you currently have on your system, so make sure you make any saves required.
  1. To verify that Vagrant has been installed and that it is running, we will need to use the Command Prompt. To access this, search for cmd using the search facility on your system:
  1. Run the vagrant -v command by typing it out and pressing Enter. You should see an output similar to the preceding screenshot. My Vagrant version is 2.0.4