Vagrant
Last updated
Was this helpful?
Last updated
Was this helpful?
Create and configure lightweight, reproducible, and portable development environments. is a tool for managing virtual machines via a simple to use command line interface.
Vagrant uses to manage the virtual dependencies. You can and install or use Homebrew for it. Notice that macOS High Sierra 10.13 introduces a new feature that requires user approval before loading new third-party kernel extensions. In case of failure follow the instructions .
Now install Vagrant either or use Homebrew for installing it.
helps you manage all your virtual machines in one place directly from the menu bar.
configuration file:
~/vagrant/Vagrantfile
Add the Vagrant box you want to use. We'll use Ubuntu 12.04 for the following example.
You can find more boxes at .
Now create a test directory and cd
into the test directory. Then we'll initialize the vagrant machine.
Now lets start the machine using the following command.
You can ssh into the machine now.
Halt the vagrant machine now.
Other useful commands are suspend
and destroy
.