Skip to main content
FlowDeck CLI provides commands for building, running, testing, and managing Xcode projects, simulators, and devices.

Command Structure

flowdeck <command> [subcommand] [options]

Command Index

Core Actions

CommandDescription
initSave project settings (workspace, scheme, target, configuration)
contextInspect workspace, schemes, simulators, and build configs
buildBuild for simulator, device, or macOS
runBuild and launch on simulator, device, or macOS
testRun unit/UI tests
test discoverDiscover tests without building
cleanClean scheme artifacts, FlowDeck Derived Data, and Xcode cache
logsStream logs for a running app
stopStop a running app
appsList apps launched by FlowDeck

Project Tools

CommandDescription
project createCreate a new Xcode project from template
project schemesList schemes
project configsList build configurations
project packages listList installed Swift packages
project packages addAdd a package dependency
project packages removeRemove a package dependency
project packages resolveResolve package dependencies
project packages updateUpdate packages to latest allowed versions
project packages clearClear package cache
project packages linkLink package products to a target
project sync-profilesSync provisioning profiles via build

Simulators

CommandDescription
simulator listList simulators
simulator bootBoot a simulator
simulator shutdownShut down a simulator
simulator openOpen Simulator.app
simulator eraseErase simulator data
simulator clear-cacheClear simulator caches
simulator createCreate a simulator
simulator deleteDelete a simulator
simulator pruneDelete unused simulators
simulator device-typesList available device types
simulator runtime listList installed runtimes
simulator runtime availableList downloadable runtimes
simulator runtime createDownload and install a runtime
simulator runtime deleteRemove a runtime
simulator runtime pruneDelete simulators for a runtime
simulator location setSet simulator location coordinates
simulator media addAdd media to a simulator

UI Automation

Core UI automation commands under flowdeck ui simulator:
CommandDescription
ui simulator screenCapture screenshot and accessibility tree
ui simulator session startStart background tree + screenshot capture
ui simulator session stopStop the active capture session
ui simulator recordRecord simulator video
ui simulator findLocate elements by label/ID/role
ui simulator tapTap elements or coordinates
ui simulator double-tapDouble tap elements or coordinates
ui simulator typeType into the focused element
ui simulator swipeSwipe by direction or coordinates
ui simulator scrollScroll content (gentler than swipe)
ui simulator backNavigate back (edge swipe)
ui simulator pinchPinch to zoom in/out
ui simulator waitWait for an element or state
ui simulator assert visibleAssert element visibility
ui simulator assert hiddenAssert element is hidden
ui simulator assert enabledAssert element is enabled
ui simulator assert disabledAssert element is disabled
ui simulator assert textAssert element text
ui simulator eraseErase text from focused field
ui simulator hide-keyboardHide the on-screen keyboard
ui simulator keySend keyboard keycodes
ui simulator open-urlOpen a URL or deep link
ui simulator clear-stateClear app data/state
ui simulator rotateRotate with a two-finger gesture
ui simulator buttonPress hardware buttons
ui simulator touch downTouch down at coordinates
ui simulator touch upTouch up at coordinates

Device Management

CommandDescription
device listList connected devices
device installInstall an app on a device
device uninstallRemove an app from a device
device launchLaunch an app on a device

Licensing & Updates

CommandDescription
license statusShow license status
license activateActivate a license on this machine
license deactivateDeactivate this machine
updateUpdate FlowDeck CLI

Aliases

Hidden aliases are still supported for backward compatibility:
AliasCommand
simsimulator
devdevice
loglogs
upupdate

JSON Output

Commands that stream progress (build/run/test/logs/apps/stop/context) output newline-delimited JSON (NDJSON) events when --json is set. Other commands return a single JSON object.

Environment Variables

VariableDescription
FLOWDECK_LICENSE_KEYLicense key for CI/CD environments
DEVELOPER_DIROverride Xcode installation path
FLOWDECK_NO_UPDATE_CHECKSet to 1 to disable update checks

Global Flags

FlagDescription
-i, --interactiveLaunch interactive mode
--changelogShow release notes
--versionShow CLI version
-h, --helpShow help