Skip to content

A command line utility for setting the default browser for a user on macOS

License

Notifications You must be signed in to change notification settings

macadmins/default-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

default-browser

This is a tool that will set the default browser for the current user on a macOS device.

Usage

/opt/macadmins/bin/default-browser --identifier com.google.chrome

To set other browsers as the default, use the following identifiers:

  • Google Chrome (the default if no identifier is passed): com.google.chrome
  • Safari: com.apple.safari
  • Firefox: org.mozilla.firefox
  • MS Edge: com.microsoft.edgemac

About

A command line utility for setting the default browser for a user on macOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published