Create your first development environment with Vagrant. This quick start provides a brief introduction to Vagrant, its prerequisites, and an overview of three of the most important Vagrant commands to understand.
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
Create a project directory to set up your first Vagrant project. Then initialize the project with a Vagrantfile at its root.
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.
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.
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.
Teardown an environment
Suspend, halt, or destroy your Vagrant development environment.