Vagrant

developer.hashicorp.com ↗

Create repeatable local development environments with a Vagrantfile and managed virtual machines.

SI Score
80/100
Pricing
Not confirmed
Free plan
Not confirmed
Sign-up required
Not confirmed

Ask SI about Vagrant

Answers use saved listing facts and recorded sources.
Homepage screenshot
Screenshot of the Vagrant homepage

What it does

Vagrant is a command-line tool for defining and managing disposable development environments. A Vagrantfile specifies a virtual machine and its provisioning steps; a box supplies a reusable base image, and a provider connects Vagrant to a local virtualizer, cloud, or container platform. This makes Vagrant useful for giving a project a consistent environment, separate from image building or production infrastructure provisioning.

Turn a project folder into a managed environment

The official setup tutorial starts by selecting a box and running vagrant init, which creates a Vagrantfile in the current directory. The user then reviews the file and runs vagrant up to create the environment. A shell or other provisioner can install project dependencies in the guest so a teammate can recreate the same setup from the project configuration. The tutorial's example uses an Ubuntu box; the provider and host resources still need to be available locally. Vagrant manages the VM lifecycle and connects project files to the guest environment. That can isolate system dependencies for a development or test task, but it does not build application images or deploy the application to production. Teams should keep the Vagrantfile and provisioning steps under version control and check which provider and box each contributor can use.

The repository license identifies Vagrant 2.4.3 and later under Business Source License 1.1 with an additional-use grant. The repository also carries a notice that HCP Vagrant is being deprecated, with limited community-edition features effective November 2, 2026. That notice concerns the associated hosted registry, not the local VM lifecycle CLI, but it may affect box discovery and should be checked before a team depends on that service.

Strengths

  • A Vagrantfile describes a repeatable virtual environment and its provisioning steps alongside project files.
  • The official setup guide demonstrates initializing and starting an environment from a selected box.
  • The project documents providers for local virtualized platforms, cloud environments, and containers.

Watch out for

  • A compatible provider and box are needed, and the host must supply the resources for the virtual machine.
  • The current license is BSL 1.1 with an additional-use grant, so teams should check the terms before distributing or embedding Vagrant.

Best for

  • Developers who want consistent disposable environments for local work or tests
  • Teams documenting virtual-machine provisioning in a version-controlled Vagrantfile

Sources