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.