Overview
Vagrant is a command-line tool for creating and managing virtual machines for development. Its purpose is to give every person on a project the same isolated, reproducible environment, so that code behaves the same way on each developer's computer. It was created by HashiCorp, which is now part of IBM, and the old vagrantup.com address forwards to the Vagrant section of developer.hashicorp.com.
Everything starts from a Vagrantfile, a text file kept with the project that describes the machine and how it should be set up. Machines are built from boxes, a package format for ready-made environments that you can create yourself or take from a public catalogue. Vagrant then handles the machine's whole lifecycle from one set of commands, along with networking and synced folders that share files between your computer and the guest. Providers let the same workflow drive different back ends; the project's README mentions VirtualBox, VMware, Docker and cloud platforms, and the quick start uses VirtualBox. Plugins and triggers extend it further.
Vagrant is free to download for macOS, Windows and Linux, and the source code is published on GitHub under the MIT licence. It is a good fit for developers who need a full virtual machine rather than a container.
Categories
Features
- Single command-line workflow for creating, starting and destroying virtual machines
- Vagrantfile that describes the machine and its provisioning in text
- Boxes as a reusable package format, with a public catalogue
- Synced folders between the host and the guest machine
- Networking configuration for reaching the virtual machine
- Providers for back ends such as VirtualBox, VMware and Docker
- Plugins and triggers for extending the workflow
- Installers for macOS, Windows and common Linux distributions
Privacy
See the official privacy policy. Vagrant is a local command-line tool and needs no account to download or run.
Pros & Cons
Pros
- Free and open source under the MIT licence
- The environment definition lives in the project and can be version controlled
- The same commands work across different virtualization back ends
- Runs on Windows, macOS and Linux
Cons
- Needs separate virtualization software such as VirtualBox to actually run machines
- Command-line only
- Full virtual machines use more disk space and memory than containers
- The project README says the hosted HCP Vagrant service is being deprecated, although the Vagrant CLI is not affected
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
Virtualization · VirtualBox
Runs virtual machines on a desktop computer.
Open Source No Signup Windows Linux -
Virtualization · VMware Workstation Player
Desktop virtual machine software for Windows and Linux; the old Player page now leads to the free VMware Workstation Pro.
Free Windows Linux -
Emulates and virtualizes hardware for running other operating systems.
Open Source No Signup Windows Linux