IngmarBoddington
6/3/2016 - 9:29 AM

Vagrant Cheatsheet

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