--- title: 📱 run description: "📱 Run Capacitor apps on devices from the CLI." sidebar_label: run sidebar: order: 2 --- 📱 Run Capacitor apps on devices from the CLI. ### 📱 **Device** ```bash npx @capgo/cli@latest run device ``` 📱 Run your Capacitor app on a connected device or simulator. If you omit the platform in an interactive terminal, the command asks whether to start on iOS or Android. The command lists available devices and simulators, lets you reload the list, and runs with your selection. For iOS, this asks whether to use a physical iPhone/iPad or simulator before showing devices. Use --no-launch to print the resolved command without starting the app. When the selected Xcode uses Device Hub and Capacitor's native-run lacks support, simulator selection prints instructions to run the app from Xcode with npx cap open ios and Product > Run. It does not attempt the incompatible simulator command. Physical-device selection remains available in interactive mode. Run npx @capgo/cli@latest doctor for the upstream fix status and upgrade guidance. **Example:** ```bash npx @capgo/cli@latest run device ios --no-launch ``` **Options:** | Param | Type | Description | | -------------- | ------------- | -------------------- | | **--no-launch** | boolean | Resolve and print the run command without starting the app |