π± run
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
π± Run Capacitor apps on devices from the CLI.
πΉ Device
Section titled β πΉ Deviceβ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.
Example:
npx @capgo/cli@latest run device ios --no-launchOptions:
| Param | Type | Description |
|---|---|---|
| βno-launch | boolean | Resolve and print the run command without starting the app |