Getting Started
Development environments made easy.
Quick Start
The Vagrant getting started tutorials will walk you through creating your first development environment with Vagrant. This quick start guide will give you a brief overview of the tutorial prerequisites and get you up and running.
Install Vagrant
Install Vagrant by visiting the Vagrant downloads page and downloading the appropriate installer or package for your platform. Packages are available for Mac, Windows, and distributions of Linux.
Initialize a Project Directory
Set up your first Vagrant project by creating a project directory with a Vagrantfile at its root. Initialize the project to create this file.
Install and Specify a Box
Vagrant uses a base image to quickly clone a virtual machine. In this tutorial specify a base image.
Boot an Environment
Bring up your first Vagrant environment, and SSH into the machine. Then destroy the virtual machine and remove the stored box.
Synchronize Local and Guest Files
Share files and folders between your local machine and the guest virtual machine to develop in your Vagrant environment while using your own text editor and other tools.
Provision a Virtual Machine
Automatically provision Vagrant environments. Serve synced files using a web server provisioned on your guest machine.
Configure the Network
At this point you have a web server running on a Virtual Machine in your Vagrant environment. In this tutorial, use Vagrant's networking features to access the guest machine from your host machine.
Share an Environment
Now that you have a web server running and accessible from your machine, share and collaborate on the environment using the Vagrant Share plugin.
Teardown an Environment
Suspend, halt, or destroy your Vagrant development environment.
Rebuild an Environment
When you are ready to come back to your project, whether it is tomorrow, a week from now, or a year from now, getting it up and running is easy.
Explore Other Providers
In these tutorials your project was backed with VirtualBox. But Vagrant can work with a wide variety of backend providers, such as VMware, Hyper-V, and others.