Skip to content

gokulkrishh/set-default-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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