Skip to content

Instantly share code, notes, and snippets.

@AshuJoshi
Last active September 7, 2021 06:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AshuJoshi/ef8d8d0f7aa17e13141c to your computer and use it in GitHub Desktop.
Save AshuJoshi/ef8d8d0f7aa17e13141c to your computer and use it in GitHub Desktop.
Launch VMWare Fusion with NO GUI
# How to launch (and suspend) VMWare Fusion Guest OS without a GUI, using command line
# Start a Virtual Machine with NO GUI
# Usage: vmrun [AUTHENTICATION-FLAGS] COMMAND [PARAMETERS]
# vmrun - Command Line VMWare Fusion tool
# -T option is to specify hostType
# fusion (this is the hosttype)
# start (command to start)
# followed by path to the VMX
# nogui - to specify to launch silently, without GUI
vmrun -T fusion start ~/Documents/Virtual\ Machines.localized/Ubuntu\ 64-bit\ Server\ 14.04.2.vmwarevm/Ubuntu\ 64-bit\ Server\ 14.04.2.vmx nogui
# Suspend the same Machine
vmrun -T fusion suspend ~/Documents/Virtual\ Machines.localized/Ubuntu\ 64-bit\ Server\ 14.04.2.vmwarevm/Ubuntu\ 64-bit\ Server\ 14.04.2.vmx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment