# 使用 npm 安装 x-default-browser

查看 x-default-browser 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:x-default-browser
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g x-default-browser
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:x-default-browser
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/x-default-browser>
- **版本:** 0.5.2
- **来源摘要:** Detect default web browser of the current user, cross-platform (Win/Lin/Mac)
- **主页:** <https://github.com/jakub-g/x-default-browser>
- **仓库:** <https://github.com/jakub-g/x-default-browser>
- **上游文档:** <https://github.com/jakub-g/x-default-browser>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/x-default-browser/-/x-default-browser-0.5.2.tgz>
- **问题跟踪器:** <https://github.com/jakub-g/x-default-browser/issues>
- **发布时间:** 2022-11-13T20:57:22.389Z
- **最后更新:** 2022-11-13T20:57:22.389Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- x-default-browser (cli)
- x-default-browser (别名)

## 依赖

- default-browser-id

## 构建依赖

- jshint
- mocha
- rewire

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.5.2
- 管理器更新时间: 2022-11-13
- 本地数据: OK
- 上游仓库: https://github.com/jakub-g/x-default-browser
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 x-default-browser 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.5.2
- **Version Count:** 7
- **Maintainers:** jakub-g
- **Author:** jakub-g
- **Publisher:** jakub-g
- **Optional Dependencies:** default-browser-id
- **Integrity:** sha512-OOC2l+bGtY2IVQPGTlXxmLqdIqGKwIH0g8phooVJHu6xVavegfgTPqeBmaL94IXyggBF59x2z3qAnTbVLS25PQ==
- **Shasum:** de392c739b5e946fb54310e6b897db0cb7944f67
- **Unpacked Size:** 27,168
- **File Count:** 0
- **Created At:** 2014-12-09T13:07:35.787Z
- **Latest Published At:** 2022-11-13T20:57:22.389Z
- **Modified At:** 2022-11-13T20:57:22.459Z


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched curated package taxonomy and local package facts.
- [kanata](https://pkg.so/zh-hans/brew/kanata/) - Local package facts share a topical domain. Shared terms: cli, cross, cross-platform, linux, platform.
- [cross-env](https://pkg.so/zh-hans/npm/cross-env/) - Local package facts share a topical domain. Shared terms: cli, cross, cross-platform, platform, system.
- [wait-on](https://pkg.so/zh-hans/npm/wait-on/) - Local package facts share a topical domain. Shared terms: cli, cross, cross-platform, linux, platform.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
