Skip to content

Instantly share code, notes, and snippets.

@dhb52
Created April 2, 2019 14:18
Show Gist options
  • Select an option

  • Save dhb52/2232fff2f98821f39b0f2565d687c8e1 to your computer and use it in GitHub Desktop.

Select an option

Save dhb52/2232fff2f98821f39b0f2565d687c8e1 to your computer and use it in GitHub Desktop.
How to run “headless” virtual machines in OS X

Parallels Desktop

Quit Parallels Desktop, if it’s open Open the Terminal utility Get a list of the current configured VMs:

prlctl list -a
# Note the name of the VM you want to start, and then start it:
prlctl start "VM NAME"

VirtualBox

Open the VirtualBox VM list Hold the Shift key when clicking Start for your VM

VMWare Fusion

#Open the Terminal and make an alias to the “vmrun” program (assuming Fusion is installed in the Applications folder):
alias vmrun=/Applications/VMware\ Fusion.app/Contents/Library/vmrun
# Start the vm without the graphical interface:
vmrun -T fusion start "/path/to/vm.vmx" nogui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment