• Website
  • Server status
  • API documentation
  • Blog
Telegram Icon Community
EN
English
Português
Русский
中文 (中国)
Tiếng Việt
Log in Try for €1.99
  • Website
  • Server status
  • API documentation
  • Blog
  • Telegram Icon Community
  • English (US)
    English
    Português
    Русский
    中文 (中国)
    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

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting started with Multilogin X 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
  • Home
  • breadcrumb separator bar
  • Multilogin X
  • breadcrumb separator bar
  • 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 Marcelo B ( Updated on April 11th, 2025 )

Updated on April 11th, 2025

All set up with Multilogin X CLI? You are now ready to use scripts in your browser profiles via Multilogin X 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 and install

How to download and install Multilogin X CLI

Installing Multilogin CLI locally only takes a few steps:

  1. Download the latest version according to your OS:
    • Windows
    • macOS (Intel)
    • macOS (M-series)
    • Linux
  2. Save it to your local user folder
    • Windows: C:/Users/%yourusername% 
    • macOS: /Users/%username%
    • Linux: /home/%username% 
  3. Rename the executable to xcli for better convenience

💡 For macOS/Linux 

  1. Open the Terminal (instructions: macOS, Linux)
  2. Run the command chmod +x xcli to set xcli as an executable file before using it

Note: you may need admin permissions to run xcli and other executables.

 

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 X CLI by simply calling 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.

  1. Paste this prompt: xcli login --username yourusername --password yourpassword 
  2. Edit “values” for each flag

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. 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:

script-stop

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

cookie-robot

Instead of manually specifying the script in script-start, you can directly the command xcli cookie-robot --profile-id “profileid”  to start it!

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

Was this article helpful?

Give feedback about this article

In this article

  • Step 1: download and install
  • 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

Blog Post Img

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 edit the app.properties file

ANTIDETECT PLATFORM

  • Antidetect browser
  • Mobile antidetect browser
  • Headless browser
  • Multilogin residential proxies
  • Multi-account management
  • Web automation

RESOURCES

  • Knowledge base
  • API documentation
  • Glossary
  • Blog
  • Multilogin 6 download
  • Server status
  • Release notes

PLATFORM PROXIES

  • Google proxy
  • Facebook proxy
  • Reddit proxy
  • Twitter proxy
  • Amazon proxy
  • LinkedIn proxy

GEO PROXIES

  • Japan proxy
  • UK proxy
  • USA proxy
  • China proxy
  • Canada proxy
  • India proxy

MULTI-ACCOUNT MANAGEMENT

  • Create multiple Facebook accounts
  • Create multiple LinkedIn accounts
  • Create multiple Amazon accounts
  • Create multiple eBay accounts
  • Create multiple Gmail accounts
  • Create multiple Discord accounts

COMPARISON

  • Multilogin vs. Gologin
  • Multilogin vs. Adspower
  • Multilogin vs. Dolphin Anty
  • Multilogin vs. Incognition
  • Multilogin vs. Octo Browser

GET IN TOUCH

  • Contact 24/7 support
    [email protected]
  • Contact sales
  • Affiliate program
  • Careers

© 2025 Multilogin. All rights reserved.

  • Privacy policy
  • Terms of service
  • Cookie policy
Multilogin abstract watermark
  • ANTIDETECT PLATFORM

    • Antidetect browser
    • Mobile antidetect browser
    • Headless browser
    • Multilogin residential proxies
    • Multi-account management
    • Web automation
  • RESOURCES

    • Knowledge base
    • API documentation
    • Glossary
    • Blog
    • Multilogin 6 download
    • Server status
    • Release notes
  • MULTI-ACCOUNT MANAGEMENT

    • Create multiple Facebook accounts
    • Create multiple LinkedIn accounts
    • Create multiple Amazon accounts
    • Create multiple eBay accounts
    • Create multiple Gmail accounts
    • Create multiple Discord accounts
  • COMPARISON

    • Multilogin vs. Gologin
    • Multilogin vs. Adspower
    • Multilogin vs. Dolphin Anty
    • Multilogin vs. Incognition
    • Multilogin vs. Octo Browser
  • PLATFORM PROXIES

    • Google proxy
    • Facebook proxy
    • Reddit proxy
    • Twitter proxy
    • Amazon proxy
    • LinkedIn proxy
  • GEO PROXIES

    • Japan proxy
    • UK proxy
    • USA proxy
    • China proxy
    • Canada proxy
    • India proxy
  • GET IN TOUCH

    • 24/7 support: [email protected]
    • Contact sales
    • Affiliate program
    • Careers
Multilogin abstract watermark
  • Privacy policy
  • Terms of service
  • Cookie policy

© 2025 Multilogin. All rights reserved.

Expand