
Conveniently set your default browser via Raycast commands.
The extension uses a small Swift snippet executed via swift - to query macOS Launch Services:
http scheme.LSSetDefaultHandlerForURLScheme.You need the built-in macOS
swifttool available (present by default on macOS). No extra dependencies are required.
Tested only on macOS Tahoe 26.1 with Apple Swift version 6.1.2
I have no idea if it works on earlier or later macOS versions or with other Swift toolchains.
Set your default browser
Open your default browser
swift 60 seconds instead of 10, since it can be slow when its module cache is cold, and say so if it still times out