defaultbrowser

Install command:
brew install defaultbrowser

Command-line tool for getting & setting the default browser

https://github.com/kerma/defaultbrowser

License: MIT

Formula JSON API: /api/formula/defaultbrowser.json

Formula code: defaultbrowser.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
ventura
monterey
big sur
Intel sonoma
ventura
monterey
big sur
catalina
mojave
high sierra
sierra
el capitan

Current versions:

stable 1.1

Requires: macOS

Analytics:

Installs (30 days)
defaultbrowser 76
defaultbrowser --HEAD 1
Installs on Request (30 days)
defaultbrowser 76
defaultbrowser --HEAD 1
Build Errors (30 days)
defaultbrowser 0
Installs (90 days)
defaultbrowser 217
defaultbrowser --HEAD 2
Installs on Request (90 days)
defaultbrowser 217
defaultbrowser --HEAD 2
Installs (365 days)
defaultbrowser 764
defaultbrowser --HEAD 6
Installs on Request (365 days)
defaultbrowser 763
defaultbrowser --HEAD 6
Fork me on GitHub