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 59
Installs on Request (30 days)
defaultbrowser 59
Build Errors (30 days)
defaultbrowser 0
Installs (90 days)
defaultbrowser 168
Installs on Request (90 days)
defaultbrowser 167
Installs (365 days)
defaultbrowser 774
defaultbrowser --HEAD 5
Installs on Request (365 days)
defaultbrowser 772
defaultbrowser --HEAD 5
Fork me on GitHub