Firefox – Create Firefox Profile via Command Line

command linefirefoxfirefox-profile

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.

Best Answer

You sure can!

example:

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
Related Question