How to create a profile via CLI
Creating a profile is like riding a bike – you won't forget how to do it after following the steps below!
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. Select your OS and follow the instructions below.
Windows
- Paste this prompt to log 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 log 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 log in:
./xcli login --username “your username” --password “your password” - Replace values of the flags (
--usernameand--password) with your email and password

Step 3: type the command and flags
One thing is remaining – type a command, and you are all set.
- Type a command
xcli profile-create - Add flags to the command. CLI recognise them by
--. The required flags are:-
--name: choose any title for your profile. Don't forget to put it under quotation marks. E.g.,‘Multilogin profile’ -
--os-type: 4 OS'es based on your choice –windows,macos,linux,android -
--browser-type:mimicorstealthfox. You can learn the difference in the following article: How to use Mimic and Stealthfox in Multilogin -
--cloud: cloud storage type. If you do not set it, the profile will have local storage type insteadThis step mentions only mandatory flags. The latest chapter explains the other flags.
-
- 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 |