A cross-platform CLI tool to open URLs, files, and executables with the default or specified application.
open-cli is a cross-platform command-line utility that opens URLs, files, and executables using the system's default or user-specified applications. It solves the problem of manually launching applications from the terminal by providing a simple, unified interface for accessing content across different operating systems.
Developers and power users who frequently work in the terminal and need a quick, scriptable way to open files, URLs, or apps without switching contexts.
Developers choose open-cli for its reliability, cross-platform consistency, and flexibility, including support for custom applications and stdin piping, making it a versatile tool for automation and daily workflows.
Open stuff like URLs, files, executables. Cross-platform.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Works reliably across macOS, Windows, and Linux, providing a unified command for opening files and URLs, as highlighted in the cross-platform support feature.
Accepts direct file paths, URLs, and piped stdin with automatic file type detection, demonstrated in usage examples like 'cat unicorn.png | open-cli'.
Allows specifying a particular application with arguments to open content, such as '-- firefox' or '-- 'google chrome' --incognito', offering precise launch options.
Includes options like --wait to pause until the app exits and --background for macOS, enabling better integration into automated workflows and scripts.
Requires global npm installation, which adds overhead and may not be available in stripped-down or secure environments, limiting portability.
Focuses solely on opening files and URLs, lacking built-in support for other common CLI operations like file editing or management, which might necessitate additional tools.
Features like --background are only available on macOS, as noted in the README, reducing cross-platform parity and potentially complicating script portability.