Set Brave as Default Browser from Command Line

By  on  

I've been a huge fan of the Brave web browser for years. They're crypto-friendly, provide native ad-blocking features, and even provide Tor integration. Whenever I set up new systems, I automate Brave as the default browser.

You can use the following shell command to set Brave as the default browser:

open -a "Brave Browser" --args --make-default-browser

Brave has been an excellent browser with a progressive outlook web browsing. I recommend everyone use Brave!

Recent Features

Incredible Demos

Discussion

  1. yes
    open -a "Brave Browser" --args --make-default-browser
    
    oem@DellHome:~$ open -a "Brave Browser" --args --make-default-browser
    xdg-open: unexpected option '-a'
    Try 'xdg-open --help' for more information.
    

    didnt work

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!