macOS
brew install defaultbrowserlocal Homebrew formula metadata
sudo port install defaultbrowserMacPorts ports tree · sysutils/defaultbrowser/Portfile · source: api.github.com
brew / rank 3052
Command-line tool for getting & setting the default browser. Version 1.1 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#defaultbrowser.
install
brew install defaultbrowserlocal Homebrew formula metadata
sudo port install defaultbrowserMacPorts ports tree · sysutils/defaultbrowser/Portfile · source: api.github.com
nix profile install nixpkgs#defaultbrowsernixpkgs package indexes · pkgs/by-name/de/defaultbrowser/package.nix · source: api.github.com
overview
Command-line tool for getting & setting the default browser
history
defaultbrowser is a small macOS command-line utility for listing and changing the system default web browser, specifically the HTTP handler.
The README presents defaultbrowser as a macOS X tool built around the macOS Launch Services API. Its scope is intentionally narrow: run without arguments to list browser handlers and run with a browser identifier to set the default.
The repository has tagged commits for v1.0 in 2017 and 1.1 in 2018, matching the tool's stable, low-churn nature.
defaultbrowser is packaged by Homebrew, which fits its audience: Mac users and automation scripts that need a terminal-friendly way to change a desktop preference normally managed through system settings.
The common usage is direct and scriptable: `defaultbrowser` shows available HTTP handlers and the current default, while commands such as `defaultbrowser chrome` set the default browser.
defaultbrowser is a classic package-manager utility because it wraps a platform preference in one tiny CLI. It is useful in dotfiles, setup scripts, and fleet/bootstrap workflows where opening a GUI preferences pane would be the wrong interface.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
defaultbrowser | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:defaultbrowser |
|---|---|
| Version | 1.1 |
| Package manager | Homebrew |
| Homepage | https://github.com/kerma/defaultbrowser |
| Repository | https://github.com/kerma/defaultbrowser |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
defaultbrowser
nix profile install nixpkgs#defaultbrowserdefaultbrowser
sudo port install defaultbrowsersource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.