cmd: vagrant
July 20, 2020 —
cmcipriano
to install Vagrant, you need to get VirtualBox first on your system
$: brew cask install virtualbox
install Vagrant
$: brew cask install vagrant
then the Vagrant Manager
$: brew cask install vagrant-manager
here are some commands:
initialize:
$: vagrant init generic/debian10
start the vm:
$: vagrant up
ssh to the vm:
$: vagrant ssh
halt/stop the vm:
$: vagrant halt
suspend the vm:
$: vagrant suspend
destroy the vm:
$: vagrant destroy
note: you would need to perform the above commands inside the vm's directory.
Tags: terminal-commands