Automic VaultAutomic Vault

brew

defaultbrowser を Homebrew, MacPorts, Nix でインストール

defaultbrowser のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install defaultbrowser

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install defaultbrowser

MacPorts ports tree · sysutils/defaultbrowser/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#defaultbrowser

nixpkgs package indexes · pkgs/by-name/de/defaultbrowser/package.nix · ソース: api.github.com

概要

パッケージ概要

Command-line tool for getting & setting the default browser

コマンドとエイリアス

  • defaultbrowser

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2017: v1.0 tagged commit.
  • 2018: 1.1 tagged commit.
  • 2026: Homebrew continues to publish the formula.

Related projects

  • The README points to the macOS Launch Services API as the underlying platform facility and to a separate bash-completion project for shell integration.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 11 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
defaultbrowsercliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版1.1
マネージャ更新日
ローカルデータOK
上流最新
検出された最新1.1

https://github.com/kerma/defaultbrowser

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:defaultbrowser
バージョン1.1
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/defaultbrowser
ホームページhttps://github.com/kerma/defaultbrowser
リポジトリhttps://github.com/kerma/defaultbrowser
上流ドキュメントhttps://github.com/kerma/defaultbrowser#readme
ライセンスMIT
ソースアーカイブhttps://github.com/kerma/defaultbrowser/archive/refs/tags/1.1.tar.gz
Bottle利用可能 (対象 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedefaultbrowser
Version Scheme0
Revision0
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

defaultbrowser

nix profile install nixpkgs#defaultbrowser
  • normalized package name match
  • 一致条件: Defaultbrowser
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/de/defaultbrowser/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

defaultbrowser

sudo port install defaultbrowser
  • normalized package name match
  • 一致条件: Defaultbrowser
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/defaultbrowser/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment