Skip to content
MultiloginHelp Center

How to use CLI commands for cloud phones

Use Multilogin CLI to create, update, start, stop, organize, transfer, and manage Android cloud phones from the command line.

To see the current commands on your device, run xcli --help on Windows or ./xcli --help on macOS/Linux.

Before you start: launch Multilogin CLI and sign in. If you are new to CLI, see “How to start working with CLI”.

Using CLI as a team member? Available commands still follow your workspace role and folder permissions.Helpjuice Success Callout Body

Step 1: launch CLI

Launch Multilogin, then open Command Prompt or Terminal, go to the CLI folder and run CLI executable:

Windows

  1. Go to the CLI folder:
    C:/Users/%username%/mlx/deps/cli
  2. Run xcli.exe

macOS

  1. Go to the CLI folder:
    /Users/%username%/mlx/deps/cli
  2. Run ./xcli:
    ./xcli

Linux

  1. Go to the CLI folder:
    /home/%username%/mlx/deps/cli
  2. Run ./xcli:
    ./xcli

Follow the article for more details: How to start working with CLI.

Step 2: sign in to authenticate

Sign in to authenticate your CLI session.

Paste this command: xcli login --username your username --password your password:

Windows

  1. Paste this prompt to sign in: 
    xcli login --username 'your username' --password 'your password'
  2. Replace values of the flags  (--username and --password) with your email and password
Windows Command Prompt showing a successful Multilogin CLI login.

macOS

  1. Paste this prompt to sign in: 
    ./xcli login --username 'your username' --password 'your password'
  2. Replace values of the flags  (--username and --password) with your email and password
macOS Terminal showing a successful Multilogin CLI login.

Linux

  1. Paste this prompt to sign in: 
    ./xcli login --username 'your username' --password 'your password'
  2. Replace values of the flags  (--username and --password) with your email and password
Ubuntu terminal showing a successful Multilogin CLI login.

Then scroll to “Mobile Profile Commands”. This section has the commands you can use for cloud phones.

Ready to run your first cloud phone commands? Start with these guides:

Cloud phone commands

Want to do something specific? Use the table below to find the right command:

Cli command Description Required flags Notes

mobile-profiles-limit

gets cloud phone limit

N/A  

mobile-profiles-group

gets or create cloud phone group

N/A

Returns the cloud phone group for the current workspace. If no group exists yet, one is created automatically.

mobile-profiles-states

gets states by country

--country ISO country codes are used. For example, USA and GBR for the US and UK respectively.

mobile-profiles-cities

gets cities by state

--state 

Use the state name returned by mobile-profiles-states, for example, "Alabama" or "California".

mobile-profiles-proxy-check

checks proxy configuration

--detect-type 

--port 

--proxy-type

--server 

--detect-type sets the detection service via IP2Location (by default) or IP-API.

Set the proxy port. The default port is 1080.

Choose the proxy type: socks5 or http. The default type is socks5.

Set the server address next to the --server flag. 

mobile-profiles-phone-brand-list

gets list of phone brands by Android version

--android-version Set the number for the --android-version flag (e.g. 12, 13, 14, 15, 16).

mobile-profiles-phone-list

gets list of cloud phones with filters

N/A  There are additional values for filtering the search result. Use --help flag for that.

mobile-profiles-create

creates new cloud phones

--mobile-type

--profile-name

--proxy 

Set the OS version with the --mobile-type flag, for example, “Android 12”.

For proxy, add the full proxy string, for example:

socks5://user:pass@host:port

You can also set extra values, like geolocation, brand, and model. Use the --help flag to see them.

mobile-profiles-update

updates cloud phones

--id

--phone-name

Use the cloud phone ID with the --id flag. 

You can also edit proxy, notes, and tags. Use the --help flag to see all options.

mobile-profiles-delete

delete cloud phones by IDs

--ids

Separate the list of cloud phone IDs with comma. For example:

"1,2,3"

mobile-profiles-statuses

gets cloud phone statuses

--ids

Separate the list of cloud phone IDs with commas. For example:

"1,2,3"

mobile-profiles-tag-assign

assign tags to cloud phones

--profile-id

--tags

You can add up to 10 tags.

mobile-profiles-tag-unassign

removes tags from cloud phones

--profile-id

--tags

 

mobile-phone-shutdown

shutdowns cloud phones

--ids

Separate the list of cloud phone IDs with commas. For example:

“1,2,3”

mobile-phone-launch

launches cloud phones

--ids

Separate the list of cloud phone IDs with comma. For example:

“1,2,3”

mobile-profiles-app-list

get list of available applications for cloud phones

N/A You can use extra values to filter the results. Use the flag --help to see them.

mobile-profiles-app-install

batches install applications for a group of phones

--id

--version_id

--id is the application ID. --version_id is the app version ID. You can get both values with the mobile-profiles-app-list command.

mobile-profiles-phone-start

starts cloud phone proxy call (launch phone without GUI)

--ids

Separate list of cloud phone IDs with comma. For example:

“1,2,3”

mobile-profiles-phone-stop

stops cloud phone proxy call (stops phone without GUI)

--ids

Separate list of cloud phone IDs with comma. For example:

“1,2,3”

mobile-profiles-phone-import-template

downloads Excel template for import

N/A Set a custom export path with the --output flag. By default, files are saved in /mlx/deps/cli/

mobile-profiles-phone-import-validate

validates cloud phone import file

--file --file sets the path to the Excel file you want to validate.

mobile-profiles-phone-export

exports cloud phones to Excel file

--ids

Set a custom export path with the --output flag. By default, files are saved in /mlx/deps/cli/

--ids sets how many profiles to export. You can export from 1 to 200 profiles.

mobile-profiles-files-list

lists uploaded cloud phone files

--page

Set the page number. Page 1 is used by default.

You can use extra values to filter the results. Use the --help flag to see them.

mobile-profiles-files-upload

uploads a file to cloud phone drive

--file

--file sets the path to the file. Use --help to see supported file types.

mobile-profiles-files-delete

deletes files from cloud phone drive by IDs

--ids

Separate list of file IDs with commas. For example:

“1,2,3”.

You can get file IDs from mobile-profiles-files-list.

mobile-profiles-files-tag-assign

assigns tags to cloud phone files

--material-id

--tags

--material-id sets the id of the file. You can get file IDs with the mobile-profiles-files-list command.

You can add up to 10 tags.

mobile-profiles-files-tag-unassign

unassigns tags from cloud phone files

--material-id

--tags

--material-id sets the id of the file. You can get file IDs with the mobile-profiles-files-list command.

You can add up to 10 tags.

mobile-profiles-transfer

transfers cloud phone to another user

--ids

--target-email

Separate list of file IDs with commas. For example:

“1,2,3”.

You can transfer up to 200 profiles at once.

--target-email is the recipient's email address.

mobile-profiles-adb-set Set ADB state on running cloud phone --ids You should either set --enable or --disable flag to manage ADB functionality.
mobile-profiles-adb-info Get ADB connection details for cloud phones --ids Returns the info such as the cloud phone state, IP, port and password (pwd). They are important for connecting ADB in the terminal.

Stay in the loop

Catch the latest updates, exchange advice, explore practical use cases.

Get product updatesTelegram channelAsk other usersTelegram chatExplore use casesDiscord community