Forrest logo
back to the ionic tool

ionic:tldr:cadbf

ionic: Run app on an Android/iOS device.
$ ionic cordova run ${select} --device
try on your machine

This command is used in the Ionic framework to build and run a Cordova application on a selected device.

The command starts with "ionic cordova run", which is a command-line interface (CLI) command provided by the Ionic framework to build and run Cordova applications.

The "${select}" is a placeholder that indicates you need to replace it with a specific platform or device target. For example, you can replace "${select}" with "android" to build and run the application on an Android device, or with "ios" to build and run it on an iOS device.

The "--device" option at the end of the command indicates that the application should be deployed and run on an actual device rather than an emulator or simulator. This is useful when you want to test the application on real devices to ensure its compatibility and performance.

In summary, the command "ionic cordova run ${select} --device" is used to build and deploy a Cordova application on a specific device platform.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the ionic tool