This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Can't open Firefox from Terminal with profile selected on Mac

  • No replies
  • 0 have this problem
more options

Right now, the only way I can reliably switch profiles in Firefox is to go to about:profiles.

I'd like to be able to launch a profile from the terminal instead. I've tried these commands:

$ firefox -P "home" $ firefox --Profile "/Users/josh/Library/Application Support/Firefox/Profiles/o4w0riri.home-1725314907557"

both result in the dialog "Open Firefox in Troubleshoot Mode?". From there, I can either refresh my profile or open in troubleshooting mode, neither of which is a desired option. If I don't specify a profile, it doesn't bring up the dialog, but it's not always the profile I want to open.

Right now, the only way I can reliably switch profiles in Firefox is to go to about:profiles. I'd like to be able to launch a profile from the terminal instead. I've tried these commands: $ firefox -P "home" $ firefox --Profile "/Users/josh/Library/Application Support/Firefox/Profiles/o4w0riri.home-1725314907557" both result in the dialog "Open Firefox in Troubleshoot Mode?". From there, I can either refresh my profile or open in troubleshooting mode, neither of which is a desired option. If I don't specify a profile, it doesn't bring up the dialog, but it's not always the profile I want to open.
Attached screenshots

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.