HashiCorp Learn
Infrastructure
  • TerraformTerraformLearn terraformDocs
  • PackerPackerLearn packerDocs
  • VagrantVagrantLearn vagrantDocs
Security
  • VaultVaultLearn vaultDocs
  • BoundaryBoundaryLearn boundaryDocs
Networking
  • ConsulConsulLearn consulDocs
Applications
  • NomadNomadLearn nomadDocs
  • WaypointWaypointLearn waypointDocs
  • HashiCorp Cloud Platform (HCP) LogoHashiCorp Cloud Platform (HCP)HashiCorp Cloud Platform (HCP)Docs
Type '/' to Search
Loading account...
  • Bookmarks
  • Manage Account
  • Overview
  • Install Vagrant
  • Verify the Installation
  • Caveats
DocsForum
Back to vagrant
Quick StartView Collection
    Quick StartInstall VagrantInitialize a Project DirectoryInstall and Specify a BoxBoot an EnvironmentSynchronize Local and Guest FilesProvision a Virtual MachineConfigure the NetworkShare an EnvironmentTeardown an EnvironmentRebuild an EnvironmentExplore other Providers

Install Vagrant

  • 1 min
  • Products Usedvagrant

Vagrant is distributed as a binary package for all supported platforms and architectures. You can also compile Vagrant from source, which is covered in the README.

»Install Vagrant

To install Vagrant, first find the appropriate package for your system and download it. Vagrant is packaged as an operating-specific package. Run the installer for your system. The installer will automatically add vagrant to your system path so that it is available in terminals.

»Verify the Installation

After installing Vagrant, verify the installation worked by opening a new command prompt or console, and checking that vagrant is available.

Tip: If you receive an error that Vagrant is not found, try logging out and logging back in to your system (particularly necessary sometimes for Windows).

$ vagrant
Usage: vagrant [options] <command> [<args>]

    -v, --version                    Print the version and exit.
    -h, --help                       Print this help.

# ...

»Caveats

Note: Beware of system package managers.

Some operating system distributions include a vagrant package in their upstream package repos. Please do not install Vagrant in this manner. Typically these packages are missing dependencies or include very outdated versions of Vagrant. If you install via your system's package manager, it is very likely that you will experience issues. Please use the official installers on the downloads page.

You have successfully downloaded and installed Vagrant! Continue to the next tutorial to set up your first Vagrant project.


PreviousQuick StartNextInitialize a Project Directory
HashiCorp
  • System Status
  • Terms of Use
  • Security
  • Privacy
stdin: is not a tty