[Quick Tip] Set Default Browser on Debian/Ubuntu Using Terminal

Hey Guys,

In this post, we are going to use the terminal to make a browser default.

Even though, this can easily be done using the browser’s main interface, is handy sometimes if you need to do this remotely.

To do this you simply open up the terminal and run the line of code below:

Enter the number beside the browser you wish to make default and you are done.

sudo update-alternatives --config x-www-browser

change_default_browser_from_terminal_debian_enock

Enjoy!