• Website
  • Server status
  • API documentation
  • Blog
Telegram Icon Community
EN
Русский
Português
English
中文 (中国)
Tiếng Việt
Log in Try for $2
  • Website
  • Server status
  • API documentation
  • Blog
  • Telegram Icon Community
  • English (US)
    Русский
    Português
    English
    中文 (中国)
    Tiếng Việt
Log in View Plans

Basic automation with CLI

Use the command line to automate browser profiles, launch sessions, and execute tasks efficiently.

search icon

Try a different keyword or check for typos. If you still need help, contact support.

  • Getting started with Multilogin automation
  • Basic automation with CLI
  • Low-code automation with Postman
  • Script runner & predefined scripts
  • Puppeteer, Selenium, and Playwright
  • Custom Python scripts
  • Quick solutions with Developer Tools
  • External automation tools
  • Home
  • breadcrumb separator bar
  • Multilogin
  • breadcrumb separator bar
  • Efficient task automation with API
  • breadcrumb separator bar
  • Basic automation with CLI
  • breadcrumb separator bar
  • How to use Script runner with Multilogin CLI

How to use Script runner with Multilogin CLI

Written by Anton L ( Updated on June 20th, 2026 )

Updated on June 20th, 2026

All set up with Multilogin CLI? You are now ready to use scripts in your browser profiles via Multilogin CLI. The steps below will walk you through setting up Script runner in CLI, so that you can start running scripts in no time from a prompt command. Follow the steps below!

 

Step 1: download CLI

CLI is included in the Multilogin directory. To make sure you have the latest version of CLI, launch the app.

Step 2: run the application

  1. Open your local command prompt (cmd for Windows and Terminal for macOS/Linux) 
  2. Using the command line, move to the folder where xcli.exe was saved. Instructions: Windows | macOS | Linux

Once in the correct folder, you will be able to launch Multilogin CLI by simply calling the following command:

Windows

xcli commandname --flag “value”
 
 

macOS/Linux

./xcli commandname --flag “value”
 
 
 

Step 3: 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. Select your OS and follow the instructions below.

Windows

  1. Paste this prompt to log in: 
    xcli login --username "your username" --password "your password"
  2. Replace values of the flags  (--username and --password) with your email and password
 
 

macOS

  1. Paste this prompt to log in: 
    ./xcli login --username “your username” --password “your password”
  2. Replace values of the flags  (--username and --password) with your email and password
 
 

Linux

  1. Paste this prompt to log in: 
    ./xcli login --username “your username” --password “your password”
  2. Replace values of the flags  (--username and --password) with your email and password
 
 

Step 4: run script commands

Script runner is a series of API endpoints that offers tools to automate scripting in your Multilogin profiles. You can check them via xcli -h!

script-list

Lists all the scripts stored in the folder via xcli script-list:

Windows

xcli script-list
 
 

macOS/Linux

./xcli script-list
 
 

Files should be stored in: 

  • Windows: C:\Users\%username%\mlx\deps\scripts
  • macOS: /Users/%username%/mlx/deps/scripts
  • Linux: /home/%username%/mlx/deps/scripts

script-start

Once you confirm that the script is located in the mlx\deps\scripts folder, you are ready to start your profile while running it.

To use this command, you need to specify your profile ID (--profile-id) and your script file (--script). Lets see it applied in an example:

Windows

xcli script-start --script example_script1.py --profile-id profile_id
 
 

macOS/Linux

./xcli script-start --script example_script1.py --profile-id profile_id
 
 

You can launch a script for several profiles at once by using --profile-id flag several times. Let's imagine profile X and profile Y. We want to launch example_script1.py.

The command will be the following:

Windows

xcli script-start --script example_script1.py --profile-id X --profile-id Y
 
 

macOS/Linux

./xcli script-start --script example_script1.py --profile-id X --profile-id Y
 
 
 

script-stop

This command stops one or more profiles that are running scripts. The only required flag is --profile-id:

Windows

xcli script-sttop --profile-id profile_id
 
 

macOS/Linux

./xcli script-sttop --profile-id profile_id
 
 

cookie-robot

Instead of manually specifying the script in script-start, you can directly use the command xcli cookie-robot --profile-id profile_id to start it:

Windows

xcli cookie-robot --profile-id profile_id
 
 

macOS/Linux

./xcli cookie-robot --profile-id profile_id
 
 

You're all set with Script runner! We prepared a special article for running Cookie Robot in Multilogin CLI tool. 

Was this article helpful?

Give feedback about this article

In this article

  • Step 1: download CLI
  • Step 2: run the application
  • Step 3: log in to authenticate
  • Step 4: run script commands
  • script-list
  • script-start
  • script-stop
  • cookie-robot

Multilogin community

Stay informed, share your thoughts, and engage with others!

Telegram Icon Join us on Telegram

Read more on the topic

10 Best Datacenter Proxies for Web Scraping (2025 Edition) Apr 2, 2025 5 min read Google SERP Img

What is a Google SERP Proxy and Why Should You Care?

Apr 1, 2025 6 min read
UK Proxy Img

What Are Dedicated UK Proxies? Everything You Need to Know

Apr 1, 2025 6 min read
Related Article Title Icon

Related articles

  • How to run CookieRobot in Multilogin CLI
  • What is CLI automation?
  • Learn CLI commands
  • Learn CLI command flags

Mobile

  • Cloud phone
  • Virtual phone
  • Remote phone
  • Phone farming
  • Cloud cell phone
  • Cloud Android emulation
  • AI Quick Action Automation

Multi-accounting

  • Multiple Instagram accounts
  • Multiple Tiktok accounts
  • Multiple Reddit accounts
  • Multiple Telegram accounts
  • Multiple Facebook accounts
  • Multiple Youtube accounts
  • Multiple LinkedIn accounts

COMPARISON

  • Multilogin vs. MoreLogin
  • Multilogin vs. FlashID
  • Multilogin vs. DuoPlus
  • Multilogin vs. VMOS cloud
  • Multilogin vs. Octo Browser
  • Multilogin vs. AdsPower
  • Multilogin vs. GoLogin

Platform proxies

  • Mobile proxy
  • Reddit proxy
  • Instagram proxy
  • TikTok proxy
  • Facebook proxy
  • Youtube proxy
  • LinkedIn proxy

USECASES

  • Cloud phones for Tiktok
  • Cloud phones for Instagram
  • Cloud phones for Reddit
  • Cloud phones for Facebook
  • Cloud phones for Youtube

RESOURCES

  • Knowledge base
  • API documentation
  • Glossary
  • Academy
  • Blog
  • Server status
  • Release notes

FREE TOOLS

  • YouTube views to money calculator
  • Instagram money calculator
  • Online URL to text converter
  • Google local SERP checker
  • Random address generator

GET IN TOUCH

  • Contact 24/7 support
    [email protected]
  • Referral program
  • Affiliate program
  • Pricing page
  • Careers
GDPR Compliant

© 2026 Multilogin. All rights reserved.

  • Privacy policy
  • Terms of service
  • Cookie policy
Multilogin watermark
  • MOBILE

    • Cloud phone
    • Virtual phone
    • Remote phone
    • Phone farming
    • Cloud cell phone
    • Cloud Android emulation
    • AI Quick Action Automation
  • MULTI-ACCOUNTING

    • Multiple Instagram accounts
    • Multiple Tiktok accounts
    • Multiple Reddit accounts
    • Multiple Telegram accounts
    • Multiple Facebook accounts
    • Multiple Youtube accounts
    • Multiple LinkedIn accounts
  • COMPARISON

    • Multilogin vs. MoreLogin
    • Multilogin vs. FlashID
    • Multilogin vs. DuoPlus
    • Multilogin vs. VMOS cloud
    • Multilogin vs. Octo Browser
    • Multilogin vs. AdsPower
    • Multilogin vs. GoLogin
  • PLATFORM PROXIES

    • Mobile proxy
    • Reddit proxy
    • Instagram proxy
    • TikTok proxy
    • Facebook proxy
    • Youtube proxy
    • LinkedIn proxy
  • USECASES

    • Cloud phones for Tiktok
    • Cloud phones for Instagram
    • Cloud phones for Reddit
    • Cloud phones for Facebook
    • Cloud phones for Youtube
  • RESOURCES

    • Knowledge base
    • API documentation
    • Glossary
    • Academy
    • Blog
    • Server status
    • Release notes
  • FREE TOOLS

    • YouTube views to money calculator
    • Instagram money calculator
    • Online URL to text converter
    • Google local SERP checker
    • Random address generator
  • GET IN TOUCH

    • Contact 24/7 support
      [email protected]
    • Referral program
    • Affiliate program
    • Pricing page
    • Careers
GDPR Compliant
  • Privacy policy
  • Terms of service
  • Cookie policy

© 2026 Multilogin. All rights reserved.

Expand