Forrest logo
back to the firefox tool

firefox:tldr:66610

firefox: Set Firefox as the default browser.
$ firefox --setDefaultBrowser
try on your machine

The command "firefox --setDefaultBrowser" is used to set Firefox as the default web browser on a computer running a compatible operating system.

When this command is executed, it tells the operating system to associate Firefox with various web-related actions, such as opening web links, HTML files, or related protocols. This means that whenever a user clicks on a web link or opens an HTML file, the operating system will automatically launch Firefox to handle that action.

By setting Firefox as the default browser, it ensures that Firefox will be the primary application used for browsing the internet, instead of any other installed browsers such as Chrome, Safari, or Edge.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the firefox tool