Vagrant Notes

Vagrant Notes

Vagrant Notes
Photo by AbsolutVision / Unsplash

Command-line with high frequency

  • boot up vagrant
    vagrant up

  • stop vagrant
    vagrant halt

  • restart vagrant
    vagrant reload

  • destroy the machine
    vagrant destroy --force

  • SSH into the VM
    vagrant ssh

  • reload the configuration file(~/.homestead/Homestead.yaml)
    vagrant reload --provision

  • status of vagrant
    vagrant status [name|id]

Complete Reference