### Install SwiftDefaultApps with Homebrew Source: https://github.com/lord-kamina/swiftdefaultapps/blob/master/README.md Use this command to install SwiftDefaultApps using the Homebrew package manager. After installation, open the pref pane via Spotlight. ```bash brew install swiftdefaultappsprefpane ``` -------------------------------- ### Prepare and Launch the 'Do Nothing' App Source: https://github.com/lord-kamina/swiftdefaultapps/blob/master/README.md These commands prepare the 'Do Nothing' dummy app for use with SwiftDefaultApps. This involves setting the correct directory and removing the quarantine flag before launching the app. ```bash appDir="/Library/PreferencePanes/SwiftDefaultApps.prefPane/Contents/Resources/ThisAppDoesNothing.app" if ! [[ -d "$appDir" ]]; then appDir="$HOME/$appDir"; fi # Remove quanrantine flag xattr -d com.apple.quarantine "$appDir" # Open the app open "$appDir" ``` -------------------------------- ### Find File UTI using mdls Source: https://github.com/lord-kamina/swiftdefaultapps/blob/master/README.md Use the `mdls` command in the terminal to retrieve the Content Type, Content Type Tree, and Kind of a file. Replace 'my_song.mp3' with the actual file name. ```bash mdls -name kMDItemContentType -name kMDItemContentTypeTree -name kMDItemKind my_song.mp3 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.