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

Bottle JSON API: /api/bottle/defaultbrowser.json

Formula code: defaultbrowser.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable 1.1

Requires: macOS

Analytics (macOS):

Installs (30 days)
defaultbrowser 144
Installs on Request (30 days)
defaultbrowser 144
Build Errors (30 days)
defaultbrowser 0
Installs (90 days)
defaultbrowser 437
Installs on Request (90 days)
defaultbrowser 437
Installs (365 days)
defaultbrowser 2,028
Installs on Request (365 days)
defaultbrowser 2,029

Analytics (Linux):

Installs (30 days)
defaultbrowser 0
Installs on Request (30 days)
defaultbrowser 0
Build Errors (30 days)
defaultbrowser 0
Installs (90 days)
defaultbrowser 0
Installs on Request (90 days)
defaultbrowser 0
Installs (365 days)
defaultbrowser 0
Installs on Request (365 days)
defaultbrowser 0
Fork me on GitHub