Firefox Logo

You can launch applications and programs using the Command Prompt—and Mozilla Firefox is no exception. You can also use Command Prompt to launch Firefox in Private Browsing mode or open a specific website on launch. Here’s how.

To launch Mozilla Firefox using Command Prompt, you’ll need to have already downloaded and installed Firefox on your Windows 10 PC.

Launch Firefox Using Command Prompt

Open Command Prompt by typing “cmd” in the Windows Search bar and selecting “Command Prompt” from the search results.

Command Prompt app in Windows Search

In Command Prompt, run this command:

start firefox

start firefox command

Mozilla Firefox will now open normally.

Open a Specific Site in Firefox Using Command Prompt

Instead of launching Firefox and then entering a URL in the web browser to visit a site, you can do both at the same time using the Command Prompt.

Open Command Prompt (type “cmd” in Windows Search and select “Command Prompt”) and run this command:

start firefox <website>

Replace <website> with the URL of the site you want to visit. For example:

start firefox

start firefox with a specific site code

Firefox will launch and open the specified site.

Launch Firefox in Private Browsing Mode Using Command Prompt

Using Mozilla Firefox in Private Browsing mode clears your search and browsing history when you close your browsing session.

To launch Firefox in Private Browsing mode, open Command Prompt (type “cmd” in Windows Search and select “Command Prompt”) and run this command:

start firefox -private

Command for starting firefox in private mode

Firefox will now launch in Private Browsing mode.

RELATED: 34 Useful Keyboard Shortcuts for the Windows Command Prompt

Marshall Gunnell
Marshall Gunnell is a writer with experience in the data storage industry. He worked at Synology, and most recently as CMO and technical staff writer at StorageReview. He's currently an API/Software Technical Writer at LINE Corporation in Tokyo, Japan, runs ITEnterpriser, a data-storage and cybersecurity-focused online media, and plays with development, with his RAID calculator being his first public project.
Read Full Bio »

The above article may contain affiliate links, which help support How-To Geek.