Skip to content

Instantly share code, notes, and snippets.

@todun
Forked from wpscholar/vagrant-cheat-sheet.md
Created February 16, 2020 10:33
Show Gist options
  • Save todun/594de33534a37d70e29d682e4848d71d to your computer and use it in GitHub Desktop.
Save todun/594de33534a37d70e29d682e4848d71d to your computer and use it in GitHub Desktop.
Vagrant Cheat Sheet
Typing `vagrant` from the command line will display a list of all available commands.
# Common Vagrant Commands
vagrant up starts vagrant environment (also provisions only on the FIRST vagrant up)
vagrant status outputs status of the vagrant machine
vagrant global-status outputs status of all vagrant machines
vagrant halt stops the vagrant machine
vagrant reload restarts vagrant machine, loads new Vagrantfile configuration
vagrant provision forces reprovisioning of the vagrant machine
vagrant ssh connects to machine via SSH
vagrant destroy stops and deletes all traces of the vagrant machine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment