vagrant is a tool that allow for simple management of virtual machines (VMs) in code.


sudo apt install vagrant*

Virtual box is required. Download the AMD64 version from here;


The VM is configured in the Vagrantfile. This file also calls a script which installs the required software.

When the VM is started there is a shared directory between the VM and the host at /vagrant. Any files that are in the directory containing this README will be available on /vagrant.

For example to have this repo available on the VM.

git clone

in this directory and then on the VM

mv /vagarnt/incubator-milagro-MPC $HOME


Start VM (this will run provisioner i.e. commands in

vagrant up

Log onto VM

vagrant ssh

Stop the VM

vagrant halt

Stop and delete VM

vagrant destroy

Run provision script again

vagrant up --provision