Set the Default Browser From the Command Line on a Mac — Properly

https://www.felixparadis.com/posts/how-to-set-the-default-browser-from-the-command-line-on-a-mac/