[ Documentation ]
peach device

peach device

Read the current device preset, switch it on the fly, or list the available models. Switching a preset reshapes the running sim (screen size, density, and chrome) without restarting the bundle. On the foldable iPhone Duo, posture reads or drives the fold to any of its rests (closed, book, open, and the two that stand the body on its edge, laptop and tent) through the same typed command as the pose buttons, and returns once the hinge rests there, so the app sees the same fold and reserved regions as from the rail.

terminal
peach device
peach device get
peach device set <model> [--sim <id>]
peach device list
peach device posture [closed|book|open|laptop|tent|toggle] [--sim <id>]

Options

flagdescription
--sim <sim>target a specific connected sim when setting
--port <number>bridge port (defaults to 7668)

Examples

terminal
peach device
peach device list
peach device set iphone-16
peach device set iphone-16-pro-max --sim a7
peach device posture open
peach device posture laptop