Build Windows VMs
First published: Wednesday, May 28, 2025 | Last updated: Wednesday, May 28, 2025Build Windows VMs using the SloopStash Windows starter-kit.
Previous: Configure |
Build and manage Windows VMs using Vagrant
Windows
You can use the below commands to build, automate, and manage Windows VMs on the Windows operating system using Vagrant.
- Open the Git Bash terminal in administrator mode.
- Execute the below commands in the Git Bash terminal to build, automate, and manage Windows VMs.
# Switch to SloopStash Windows starter-kit directory.
$ cd /opt/kickstart-windows
# Boot Windows VM using Vagrant.
$ VAGRANT_CWD=$VAGRANT_CONF_DIR vagrant up
# SSH to Windows VM using Vagrant.
$ VAGRANT_CWD=$VAGRANT_CONF_DIR vagrant ssh
# Exit from Windows VM.
$ exit
# Halt Windows VM using Vagrant.
$ VAGRANT_CWD=$VAGRANT_CONF_DIR vagrant halt
# Destroy Windows VM using Vagrant.
$ VAGRANT_CWD=$VAGRANT_CONF_DIR vagrant destroy
Mac and Linux
You can use the following commands to build, automate, and manage Windows VMs on a Mac or Linux operating system using Vagrant.
- Open the terminal.
- Execute the below commands in the terminal to build, automate, and manage Windows VMs.
# Switch to SloopStash Windows starter-kit directory.
$ cd /opt/kickstart-windows
# Boot Windows VM using Vagrant.
$ sudo VAGRANT_CWD=$VAGRANT_CONF_DIR vagrant up
# SSH to Windows VM using Vagrant.
$ sudo VAGRANT_CWD=$VAGRANT_CONF_DIR vagrant ssh
# Exit from Windows VM.
$ exit
# Halt Windows VM using Vagrant.
$ sudo VAGRANT_CWD=$VAGRANT_CONF_DIR vagrant halt
# Destroy Windows VM using Vagrant.
$ sudo VAGRANT_CWD=$VAGRANT_CONF_DIR vagrant destroy
Previous: Configure |