# Vagrant

> Vagrant is a HashiCorp tool that creates reproducible local virtual machines from a Vagrantfile, usually on VirtualBox.

- Source: https://www.itwonderlab.com/vagrant/
- Published: 2026-09-11
- Updated: 2026-09-11
- Author: Javier Ruiz Jiménez (https://www.javierruizjimenez.com/)
- Site: IT Wonder Lab (https://www.itwonderlab.com/)

---

**Vagrant** builds and configures development VMs from a `Vagrantfile`. It starts them on a provider such as [VirtualBox](https://www.itwonderlab.com/virtualbox/) and can provision them with [Ansible](https://www.itwonderlab.com/ansible/).

### Key concepts

- **Box**: the base VM image.
- **Provider**: the hypervisor that runs the VM.
- **Provisioner**: configures the VM after it boots.

### Learn it

See [Ansible and Vagrant to build a Kubernetes cluster](https://www.itwonderlab.com/ansible-kubernetes-vagrant-tutorial/).

Install it with [Install Vagrant and VirtualBox](https://www.itwonderlab.com/install-vagrant-virtualbox/).
