duti
« Back to VersTracker
Description:
Select default apps for documents and URL schemes on macOS
Type: Formula  |  Latest Version: 1.5.4@1  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: System utilities
Tags: macos utilities automation system cli
Install: brew install duti
About:
duti is a command-line utility for macOS that allows users to set default applications for specific document types (UTIs) and URL schemes. It modifies the Launch Services database, enabling precise control over which apps open when you double-click a file or click a web link. This tool is invaluable for scripting and automating system preferences without manual GUI interaction.
Key Features:
  • Sets default applications for file types (UTIs)
  • Configures handlers for URL schemes (e.g., http, mailto)
  • Command-line interface for easy scripting and automation
  • Modifies Launch Services database directly
Use Cases:
  • Automating macOS setup scripts to ensure preferred apps are defaults
  • Batch-setting default apps for developers or power users
Alternatives:
  • duti-x – A modern fork of duti with additional features and better support for newer macOS versions
  • DefaultApp – GUI-based alternative for setting defaults without command line
License: LicenseRef-Homebrew-public-domain
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, sonoma, ventura, monterey
Version History
Detected Version Rev Change Commit
Sep 13, 2025 3:43pm 1 VERSION_BUMP e779f2b3
Sep 12, 2024 8:21am 1 VERSION_BUMP 1b3987b4