infat
« Back to VersTracker
Description:
Tool to set default openers for file formats and url schemes on macOS
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Productivity
Tags: macos cli productivity system-utility automation
Install: brew install infat
About:
Infat is a command-line utility designed for macOS that allows users to configure default applications for specific file types and URL schemes. It interacts directly with the Launch Services database to manage these associations programmatically. This tool provides a powerful alternative to the GUI, enabling automation and precise control over system defaults.
Key Features:
  • Command-line interface for managing Launch Services
  • Set default handlers for file extensions and UTIs
  • Configure default applications for URL schemes
  • Supports batch operations and scripting
  • Native macOS integration
Use Cases:
  • Automating environment setup scripts to ensure preferred editors or viewers are used for specific file types
  • Overriding system defaults for URL schemes like 'mailto' or custom app protocols to open in specific browsers or applications
  • Developers creating a reproducible dotfiles configuration for a new machine
Alternatives:
  • duti – duti is a well-known, older command-line utility for the same purpose; Infat is a modern implementation with a potentially more ergonomic interface.
  • Automator – The built-in Automator app can create services but is not scriptable or CLI-friendly for managing system-wide defaults.
Version History
Detected Version Rev Change Commit
Sep 26, 2025 7:28pm 0 VERSION_BUMP d6bdbb94
Sep 26, 2025 11:52am 0 VERSION_BUMP ed463c35
Sep 13, 2025 3:49am 0 VERSION_BUMP 4ed1be29