Skip to content

Instantly share code, notes, and snippets.

@AshuJoshi
Last active January 3, 2026 03:59
Show Gist options
  • Select an option

  • Save AshuJoshi/ef8d8d0f7aa17e13141c to your computer and use it in GitHub Desktop.

Select an option

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
@hailinzeng
Copy link

It works. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment