Edit

Device management

The maui device list command discovers and lists connected devices and emulators across all platforms. It provides a unified view of available deployment targets for your .NET MAUI apps.

Important

The .NET MAUI CLI is experimental and will change between releases.

List connected devices

Run the following command to list all connected devices and running emulators:

maui device list

The output includes:

  • Physical Android devices connected via USB or Wi-Fi.
  • Running Android emulators.
  • Apple simulators, including booted and available devices (macOS).
  • Connected iOS devices (macOS).

Each entry shows the device name, platform, identifier, and connection status.

JSON output

For scripting and CI scenarios, use the --json flag to get machine-readable output:

maui device list --json

The JSON output can be piped to other tools for automated device selection or reporting:

maui device list --json | jq '.devices[] | select(.platform == "Android")'

See also