Connect to DevTunnel through the CLI

This article explains how you can use the command-line interface (CLI) to create a DevTunnel session and connect to a device without using the Perfecto UI. For Android devices, it is also possible to create a single DevTunnel session and connect to multiple devices.

For this purpose, Perfecto offers the following tools:

  • DevTunnelCLI.sh: Creates and connects a DevTunnel session with a device.
  • DevTunnelCLISession.sh: Creates a DevTunnel session (without connecting to the device) and returns the session ID as output.
  • DevTunnelMultiple.sh: Creates and connects a DevTunnel session with multiple Android devices.
  • DevTunnelMultpleSession.sh: Creates a DevTunnel session (without connecting to the Android devices) and returns the session ID as output.

You can run these scripts on Windows, Mac, and Linux. All scripts are available at https://github.com/PerfectoMobileDev/devtunnel-cli.

Expand a task to view its steps.