Skip to content

sindresorhus/default-browser-cli

Repository files navigation

default-browser-cli

Get the default browser

Works on macOS and Linux.

Install

npm install --global default-browser-cli

Usage

$ default-browser --help

  Example
    $ default-browser
    Safari

Related