Wondering what’s next for npm?Check out our public roadmap! »

    set-default-browser

    1.1.2 • Public • Published

    set-default-browser

    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

    Install

    npm i set-default-browser

    DownloadsWeekly Downloads

    460

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    5.26 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar