How to launch and stop cloud phones via CLI
You don't need a GUI to start and stop cloud phones. You will learn how to do it!
Step 1: launch CLI
Launch Multilogin, then open Command Prompt or Terminal, go to the CLI folder and run CLI executable:
Windows
- Go to the CLI folder:
C:/Users/%username%/mlx/deps/cli - Run
xcli.exe
macOS
- Go to the CLI folder:
/Users/%username%/mlx/deps/cli - Run
./xcli:./xcli
Linux
- Go to the CLI folder:
/Home/%username%/mlx/deps/cli - Run
./xcli:./xcli
Follow the article for more details: How to start working with CLI.
Also look for the following article: How to use CLI commands for cloud phones.
Step 2: sign in to authenticate
In order to get your API token, you will need to first sign in to your account via the login command.
Windows
- Paste this prompt to sign in:
xcli login --username 'your username' --password 'your password' - Replace values of the flags (
--usernameand--password) with your email and password

macOS
- Paste this prompt to sign in:
./xcli login --username 'your username' --password 'your password' - Replace values of the flags (
--usernameand--password) with your email and password

Linux
- Paste this prompt to sign in:
./xcli login --username 'your username' --password 'your password' - Replace values of the flags (
--usernameand--password) with your email and password

Step 3: start a cloud phone
One thing is remaining – type a command, and you are all set.
- Type a command
xcli mobile-profiles-launch - Add a flag to the command. CLI recognizes them. The required flag is
--ids. In this flag you need to set the ID of the cloud phone. Separate several IDs with commas, for example:xcli mobile-profiles-shutdown --ids 1,2,3You can also separate several IDs by adding several
--idsflags. For example:xcli mobile-profiles-launch --ids 1 --ids 2 --ids 3 - Press Enter.
Your profile is ready!
Step 4: stop a cloud phone
After using a cloud phone you can stop it via CLI too.
- Type a command
xcli mobile-profiles-shutdown - Add a flag to the command. CLI recognizes them. The required flag is
--ids. In this flag you need to set the ID of the cloud phone. Separate several IDs with commas, for example:xcli mobile-profiles-shutdown --ids 1,2,3You can also separate several IDs by adding several
--idsflags. For example:xcli mobile-profiles-shutdown --ids 1 --ids 2 --ids 3 - Press Enter.
Now you can start and stop cloud phones via CLI. Want to learn more about CLI? Read the following articles: