# open

> Open URLs, files and apps from Node.js, on any platform

Source: https://talira.ai/catalog/open-nvma60mc
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / process management](https://talira.ai/categories/libraries/process-management), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [Sindre Sorhus](https://talira.ai/orgs/sindresorhus.md)

open is a Node.js package for command-line tools and scripts that opens URLs, files and executables with the default app, or a chosen app with arguments, on macOS, Windows, Linux and WSL. It uses `spawn` rather than `exec`, bundles the latest `xdg-open` script for Linux, can wait for the opened app to quit, and handles WSL paths to Windows apps.

## Links

- GitHub: https://github.com/sindresorhus/open

## Problems it solves

- open a URL in the default browser from a Node CLI
- open a file with its default app from a Node script
- launch a specific app from Node.js cross-platform

## Features

- opens URLs, files and executables with the default app
- choose an app and pass arguments
- wait for the opened app to quit
- bundled xdg-open for Linux and WSL path support

## Limitations

- ESM only, with no CommonJS export.[^1]
- Makes no security guarantees: untrusted input must be sanitised first.[^1]

## Trust

Overall: 0.47 out of 1.
Signals: maintenance 0.48, adoption 0.71, momentum 0.42, community 0.71, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 4 commits in the last 90 days
- latest release v11.0.4 2 months ago
- 3.5k GitHub stars
- 58 contributors
- accepts sponsorship (Github, Open Collective, Buy Me A Coffee)
- backed by Sindre Sorhus

## Sources

[^1]: https://github.com/sindresorhus/open/blob/main/readme.md (checked 29 Nov 2026)
[^2]: https://github.com/sindresorhus/open/blob/main/license (checked 29 Nov 2026)
