Skip to content

Instantly share code, notes, and snippets.

@IngmarBoddington
Last active November 18, 2019 18:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save IngmarBoddington/6e4385a2e34edb5734d2b108890ac41f to your computer and use it in GitHub Desktop.
Vagrant Commands
Settings contained in VagrantFile
vagrant up
- Pull dependencies and start VM (run from project root)
vagrant destroy -f
- Force destroy VMs
vagrant ssh <box>
- SSH onto a running VM
vagrant box list
- List all current known boxes
vagrant box remove <box>
- Remove box
vagrant plugin install vagrant-scp
- Install plugin for scp
vagrant scp <file> <vmName>:<location>
- SCP to VM
vagrant global-status
- Get full current VM details
vagrant halt
- Shutdown all VMs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment