# Install x-default-browser with npm

Detect default web browser of the current user, cross-platform (Win/Lin/Mac). Version 0.5.2 via npm; verified 2022-11-13.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:x-default-browser
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/x-default-browser>
- **Version:** 0.5.2
- **Source summary:** Detect default web browser of the current user, cross-platform (Win/Lin/Mac)
- **Homepage:** <https://github.com/jakub-g/x-default-browser>
- **Repository:** <https://github.com/jakub-g/x-default-browser>
- **Upstream docs:** <https://github.com/jakub-g/x-default-browser>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/x-default-browser/-/x-default-browser-0.5.2.tgz>
- **Issue tracker:** <https://github.com/jakub-g/x-default-browser/issues>
- **Published:** 2022-11-13T20:57:22.389Z
- **Last updated:** 2022-11-13T20:57:22.389Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- x-default-browser (cli)
- x-default-browser (alias)

## Dependencies

- default-browser-id

## Build dependencies

- jshint
- mocha
- rewire

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.5.2
- Package-manager updated: 2022-11-13
- Local data: ok
- Upstream repository: https://github.com/jakub-g/x-default-browser
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for x-default-browser. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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


## Related links

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

## Sources

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