Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to create Firefox profiles via the command line? I need to programatically launch Firefox with different proxy settings. From my understanding, I can do this via creating a profile. However, I don't want to create these profiles manually.

share|improve this question

migrated from Feb 4 '10 at 20:41

This question came from our site for professional and enthusiast programmers.

You may get a better response on – Brian Feb 4 '10 at 20:16

You sure can!


firefox -CreateProfile john

check out the rest of Firefox's command line arguments.

Once your profile is created and configured you can launch the profile by doing the following:

firefox -P john
share|improve this answer
The -CreateProfile is not available in recent versions of Firefox anymore. Is there any manual way to simulate this command? – Amir Ali Akbari Aug 30 '14 at 19:16
@AmirAliAkbari From a pseudo-answer by jotomo (who doesn't have enough rep to comment): "This still works in FF 31. If there is an instance of Firefox already running, the -no-remote option must be specified as well, otherwise the -CreateProfile argument is ignored and FF just opens another window." – gronostaj Sep 10 '14 at 19:50

You must log in to answer this question.