Manymo Command Line Tool

Overview

The Manymo Command Line tool is used for:

  1. Making in-browser emulators appear as local emulators on your system.

  2. Launching headless emulators for automated testing.

Prerequisites

You'll need to have a free Manymo account – sign up without a credit-card – to use use the command line tool to make in-browser emulators appear as local emulators on your system. You'll need a subscription level that supports launching headless emulators from the command line tool to use that feature.

Installation

Open a terminal window and type the following command:

curl https://raw.githubusercontent.com/manymo/manymo/master/manymo-installer | bash

Copy_to_clipboard

The installer (source) installs the manymo command line tool and adds it to PATH. We provide the source so you know what's happening in the install; you can also do a manual install by downloading the tarball, unpacking it, and setting its bin directory to your PATH environment variable.

Download and run the installation program. The installer will install the files and update your PATH environment variable to point to the helper.

Open a terminal window and type the following command:

curl https://raw.githubusercontent.com/manymo/manymo/master/manymo-installer | bash

Copy_to_clipboard

The installer (source) installs the manymo command line tool and adds it to PATH. We provide the source so you know what's happening in the install; you can also do a manual install by downloading the tarball, unpacking it, and setting its bin directory to your PATH environment variable.

Authentication Token

An Authentication Token is used to authenticate your command line tool actions. To set it up:

  1. Open a terminal window, type manymo token and follow the prompts.

An Authentication Token is used to authenticate your command line tool actions. To set it up:

  1. Open a command prompt, type manymo token and follow the prompts.

An Authentication Token is used to authenticate your command line tool actions. To set it up:

  1. Open a terminal window, type manymo token and follow the prompts.

Android SDK Platform Tools

To work properly, the Android SDK platform tools must be installed and be accessible using system's PATH environmet variable. To see if the PATH includes the platform tools open a terminal windowterminal windowcommand prompt and type adb. If the adb tool is found then the PATH is set correctly, otherwise locate the platform-tools directory in your Android SDK installation and add it to your PATH.

Firewall Configuration

To work properly, you must be able to make unproxied outbound ssh connections to our servers on the standard SSH port 22.

Usage – Making An In-Browser Emulator Appear As A Local Emulator On Your System

  1. Launch an emulator from the Manymo site.

  2. Click the Develop link in the toolbar.

  3. Copy the manymo tunnel... command to your clipboard.

  4. Open a terminal window, paste and execute the command to establish a tunnel. Once the tunnel's set up you'll be able to use it like a local emulator.

  5. When you're done, type manymo shutdown SERIALNUMBER to shutdown the tunnel; omit the serial number to shut down all tunnels.

    Note:

    Remember to shut down tunnels when you're done with them. Otherwise the emulators will keep running, which counts towards your usage and concurrency limits. Type adb devices to see a list of all running emulators and their serial numbers.

  1. Launch an emulator from the Manymo site.

  2. Click the Develop link in the toolbar.

  3. Copy the manymo tunnel... command to your clipboard.

  4. Open a command prompt, paste and execute the command to establish a tunnel. Once the tunnel's set up you'll be able to use it like a local emulator.

  5. When you're done, type manymo shutdown SERIALNUMBER to shutdown the tunnel; omit the serial number to shut down all tunnels.

    Note:

    Remember to shut down tunnels when you're done with them. Otherwise the emulators will keep running, which counts towards your usage and concurrency limits. Type adb devices to see a list of all running emulators and their serial numbers.

  1. Launch an emulator from the Manymo site.

  2. Click the Develop link in the toolbar.

  3. Copy the manymo tunnel... command to your clipboard.

  4. Open a terminal window, paste and execute the command to establish a tunnel. Once the tunnel's set up you'll be able to use it like a local emulator.

  5. When you're done, type manymo shutdown SERIALNUMBER to shutdown the tunnel; omit the serial number to shut down all tunnels.

    Note:

    Remember to shut down tunnels when you're done with them. Otherwise the emulators will keep running, which counts towards your usage and concurrency limits. Type adb devices to see a list of all running emulators and their serial numbers.

Usage – Launching A Headless Emulator For Automated Testing

  1. Open a terminal window, type manymo list to list the emulator choices and note the name of the emulator you plan to launch.

  2. Type manymo launch EMULATORNAME to launch the emulator and make it appear as a local emulator.

  3. When you're done, type manymo shutdown SERIALNUMBER to shut the emulator down; omit the serial number to shut down all emulators.

    Note:

    Remember to shut down the emulators when you're done with them – they count towards your usage and concurrency limits. Type adb devices to see a list of all running emulators and their serial numbers.

  1. Open a command prompt, type manymo list to list the emulator choices and note the name of the emulator you plan to launch.

  2. Type manymo launch EMULATORNAME to launch the emulator and make it appear as a local emulator.

  3. When you're done, type manymo shutdown SERIALNUMBER to shut the emulator down; omit the serial number to shut down all emulators.

    Note:

    Remember to shut down the emulators when you're done with them – they count towards your usage and concurrency limits. Type adb devices to see a list of all running emulators and their serial numbers.

  1. Open a terminal window, type manymo list to list the emulator choices and note the name of the emulator you plan to launch.

  2. Type manymo launch EMULATORNAME to launch the emulator and make it appear as a local emulator.

  3. When you're done, type manymo shutdown SERIALNUMBER to shut the emulator down; omit the serial number to shut down all emulators.

    Note:

    Remember to shut down the emulators when you're done with them – they count towards your usage and concurrency limits. Type adb devices to see a list of all running emulators and their serial numbers.

Documentation for: Mac. Show documentation for: Linux | Windows
Documentation for: Windows. Show documentation for: Linux | Mac
Documentation for: Linux. Show documentation for: Mac | Windows