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 monterey
big sur

Current versions:

stable 1.1

Requires: macOS

Analytics (macOS):

Installs (30 days)
defaultbrowser 131
Installs on Request (30 days)
defaultbrowser 131
Build Errors (30 days)
defaultbrowser 0
Installs (90 days)
defaultbrowser 339
Installs on Request (90 days)
defaultbrowser 338
Installs (365 days)
defaultbrowser 1,104
Installs on Request (365 days)
defaultbrowser 1,103

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