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
You need to launch CLI (either by launching the executable or via Terminal/Command prompt). Follow the article for more details: How to start working with CLI.
Step 2: log in to authenticate
In order to get your API token, you will need to first log in to your account via the login command.
- Paste this command:
xcli login --username yourusername --password yourpassword - Edit values for each flag

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: