by @Harry Lonsdale

NOTE: MAKE SURE YOUR VM IS NOT VIRTUALIZATION BASED.

This is running UTM version 4.5.4 on macOS Sonoma 14.3.1

  1. Ensure that USB Sharing is enabled for your VM. If it’s not, turn it on and restart your VM

Screenshot 2025-10-04 at 1.57.27 PM.png

There is a command line program that comes with UTM that you can install on MacOS called utmctl. If you installed UTM to /Applications, utmctl should live in the location /Applications/UTM.app/Contents/MacOS/utmctl.

You should have your VM running before the following.

  1. run utmctl list to see your VM’s UUID

Screenshot 2025-10-04 at 3.14.13 PM.png

  1. run utmctl usb list to see your USB device’s VID:PID pair

Screenshot 2025-10-04 at 3.15.01 PM.png

  1. run utmctl usb connect <VM-UUID> <VID>:<PID> . For example, in my case with the above setup, the command was /Applications/UTM.app/Contents/MacOS/utmctl usb connect 4FB1781A-C9F6-4D5C-AD47-E77F1ED4F268 2676:BA05