Skip to content

Instantly share code, notes, and snippets.

@kjkorea
Forked from wpscholar/vagrant-cheat-sheet.md
Created December 28, 2018 09:14
Show Gist options
  • Select an option

  • Save kjkorea/852945db1c4d13d5844028a67b7004cc to your computer and use it in GitHub Desktop.

Select an option

Save kjkorea/852945db1c4d13d5844028a67b7004cc 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