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.
1min
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.
7min
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.
4min
Install and Specify a Box
Vagrant uses a base image to quickly clone a virtual machine. In this tutorial specify a base image.
3min
Boot an Environment
Bring up your first Vagrant environment, and SSH into the machine. Then destroy the virtual machine and remove the stored box.
2min
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.
2min
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.
1min
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.
3min
Teardown an Environment
Suspend, halt, or destroy your Vagrant development environment.