/set-default-browser

🌏 Set a browser as default browser

Primary LanguageJavaScriptMIT LicenseMIT

set-default-browser

Command Link

Set any macOS browser as your default browser via command line

Supported platform OSX only

Install

npm install --save set-default-browser

or

npx set-default-browser <browser-name>

Usage

CLI

set-default-browser chrome

OR

var setDefaultBrowser = require('set-default-browser');

setDefaultBrowser("chrome");

Supported browsers

  • Google Chrome
  • Google Chrome Canary
  • Firefox
  • Firefox Developer Edition
  • Safari
  • Microsoft Edge
  • Microsoft Edge Canary

Licence

MIT © Gokulakrishnan Kalaikovan