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

  • By
    Chris Coyier’s Favorite CodePen Demos

    David asked me if I'd be up for a guest post picking out some of my favorite Pens from CodePen. A daunting task! There are so many! I managed to pick a few though that have blown me away over the past few months. If you...

  • By
    MooTools & Printing – Creating a Links Table of Contents

    One detail we sometimes forget when considering print for websites is that the user cannot see the URLs of links when the page prints. While showing link URLs isn't always important, some websites could greatly benefit from doing so. This tutorial will show you...

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!