Skip to content
MultiloginHelp Center

How to create a browser profile with CLI

Creating a profile is like riding a bike – you won't forget how to do it after following the steps below!

➡️ To create a browser profile with CLI, start CLI and sign in → run profile-create with the required name, OS, and browser-type flags → add --cloud if you want cloud storage → press Enter.

This guide creates browser profiles with the profile-create command. To create Android cloud phones, use the cloud-phone CLI commands instead.

Before you start

  • Start Multilogin CLI
  • Sign in to your account
  • Make sure your role allows browser-profile creation
  • If this is your first CLI task, see “How to start working with CLI”

Who can create browser profiles? Owner, Manager, and Operator roles. Starter can use CLI for supported actions but cannot create browser profiles.

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

In order to create a browser profile, you will need to first sign in to your account via the login command. Select your OS and follow the instructions below.

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.

Step 3: type the command and flags

One thing is remaining – type a command, and you are all set. 

  1. Type a command xcli profile-create
  2. Add flags to the command. CLI recognise them by --. The required flags are:  
    1. --name: choose any title for your profile. Don't forget to put it under quotation marks. E.g., ‘Multilogin profile’
    2. --os-type: 4 OS'es based on your choice – windows, macos, linux, android
    3. --browser-type: mimic or stealthfox. You can learn the difference in the following article: How to use Mimic and Stealthfox in Multilogin

      This step mentions only mandatory flags. The latest chapter explains the other flags. 

      Note: --os-type android still creates a browser profile. It does not create an Android cloud phone.

  3. Press Enter.

Your profile is ready!

List of flags for profile creation

General flags

h or --help provides info about the command (which flags you can add to it)
--auto-update enables auto update of profile: true (by default) or false
 --browser-type (required) browser type (mimic or stealthfox)
--name  (required) name of new profile
--cloud stores profile data in the cloud. Simply including the parameter makes it true. The profile will be local if you omit that flag
--os-type (required) OS Type (android, linux, macos or windows)
--template              template file (the flag requires a directory to it)

Global flags

 -f, --folder string folder to use ("Default folder" by default)

Masking flags

--audio-masking audio masking parameter. You can set it as natural or mask (natural is set by default)
--fonts-masking fonts masking mode: natural or mask (natural is set by default)
--geolocation-popup geolocation popup behavior: allow, block, prompt (prompt is set by default)
--graphics-masking graphics masking mode: natural or mask (natural is set by default)
--graphics-noise graphics noise mode:  natural or mask (natural is set by default)
--localization-masking localization masking mode:  natural or mask (natural is set by default)
--media-devices-masking media device masking mode:  natural or mask (natural is set by default)
--navigator-masking navigator masking mode:  natural or mask (natural is set by default)
--ports-masking ports masking mode:  natural or mask (natural is set by default)
--screen-masking screen masking mode:  natural or mask (natural is set by default)
--timezone-masking timezone masking mode:  natural or mask (natural is set by default)
--webrtc-masking webrtc masking mode:  natural or mask (natural is set by default)

Proxy flags

--proxy-host proxy host
--proxy-username proxy username
--proxy-password proxy password
--proxy-port proxy port
--proxy-string proxy string in format host:port:user:password. If proxy-string is used, then proxy-type is required too
--proxy-traffic-saver false by default. It tells the browser if it should save on proxy traffic by not showing media. Can be used only if we are using proxy is configured
--proxy-type proxy type (http, https, socks5, url). If we are using parameters to set proxy, this is required. If we create a profile via template. then this is not required

Stay in the loop

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

Get product updatesTelegram channelAsk other usersTelegram chatExplore use casesDiscord community