Vagrant quickstart reference:

  • vagrant init → create Vagrantfile file in current directory.
  • vagrant up → start up virtual box based on config from Vagrantfile in current directory or the nearest parent directory containing a Vagrantfile.
  • vagrant destroy → shuts down the virtual box that was started with vagrant up.
  • vagrant ssh → ssh into the box configured by the local Vagrantfile.
  • vagrant reload --provision → stop the machine, rerun the provisioning script, and restart it.
  • vagrant login → log into Vagrant Cloud, so that you can vagrant share / pull private boxes / other commercial things.
  • vagrant share → create hostname that tunnels to this box, kind of like ngrok.