Docs · Reference

Settings reference

Every dotted key you can read with `1vm get` and change with `1vm set`.

A machine's definition is a JSON file you can read directly, and every individual setting has a dotted key.

1vm config dev              # the whole definition
1vm get dev                 # list every available key
1vm get dev network.mode    # read one
1vm set dev network.mode nat

Settings are validated when you set them, not when the machine boots — so an invalid value fails immediately with a reason rather than at 3am during a start. Where an engine supports changing a setting on a running machine it applies live; otherwise it takes effect at next boot. Hardware changes on a running machine are refused unless the setting explicitly says otherwise.

Machine

KeyNotes
cpuCountVirtual CPUs
memorye.g. 8GiB
diskSizeA ceiling; the disk is sparse
macAddressThe guest's MAC
clipboardSharingBoth directions. Linux needs spice-vdagent; macOS guests cannot
rosettax86 translation in a Linux guest, Virtualization.framework only

Network

KeyNotes
network.modenat, host-only, or bridged:en0
portForwards.adde.g. tcp:2222:22
portForwards.removeSame form

Shared folders

KeyNotes
sharedFolders.addtag=projects path=~/Projects
sharedFolders.removeBy tag

Graphics

KeyNotes
graphics.resolutionGuest display size
graphics.displaysNumber of heads
graphics.hiDPIRetina scaling
graphics.accelerationWhere the engine and guest support it

Input

KeyNotes
input.commandKeyWhat ⌘ sends to the guest
input.optionKeyWhat ⌥ sends
input.translateMacShortcutsMap Mac shortcuts to guest equivalents
input.translateOptionArrowsWord-wise cursor movement
input.captureSystemShortcutsLet the guest take system shortcuts
input.matchHostKeyboardLayoutFollow the Mac's layout
input.keyboardProfileKeyboard model presented to the guest
input.mousePointer device type
input.releaseChordThe keys that release keyboard capture

SSH

KeyNotes
ssh.accessEnable or disable Mac-to-guest SSH
ssh.disableTurn it off
ssh.usersWhich guest users are reachable
ssh.hostPortHost-side port
ssh.aliasName used in ~/.ssh/config
ssh.identity / ssh.identityFileKey selection
ssh.passwordAuthenticationAllow password auth

A note on unavailable settings

Options your Mac or the chosen engine cannot support stay visible and disabled with a reason rather than disappearing. An option that vanishes teaches you nothing; one that explains itself tells you whether a different engine or a newer Mac would change the answer.