# duti mit Homebrew, MacPorts, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für duti in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:duti
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install duti
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install duti
```

  Evidenz: MacPorts ports tree: sysutils/duti/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#duti
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/du/duti/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:duti
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/duti>
- **Version:** 1.5.4
- **Quellzusammenfassung:** Select default apps for documents and URL schemes on macOS
- **Homepage:** <https://github.com/moretension/duti/>
- **Repository:** <https://github.com/moretension/duti>
- **Upstream-Dokumentation:** <https://github.com/moretension/duti#readme>
- **Lizenz:** LicenseRef-Homebrew-public-domain
- **Quellarchiv:** <https://github.com/moretension/duti/archive/refs/tags/duti-1.5.4.tar.gz>
- **Generiert:** 2026-07-08T18:08:21+00:00

## Executables

- duti (cli)
- duti (Alias)

## Build-Abhängigkeiten

- autoconf

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura

## Version und Aktualität

- Seite generiert: 2026-07-08
- Manager-Version: 1.5.4
- lokale Daten: OK
- Upstream-Repository: https://github.com/moretension/duti
- neueste erkannte Version: duti-1.5.4 (aktuell)
- Info: No package-manager update timestamp was available.
## Projektgeschichte und Nutzung

duti is a macOS command-line utility for setting default applications for document types, URL schemes, extensions, and MIME types. It is one of those small macOS plumbing tools that became package-manager-relevant because Apple exposes the concept through Launch Services and UTIs but not through a friendly shell command.

### Projektgeschichte

The README says duti was originally released into the public domain by Andrew Mortensen in 2008. The current GitHub repository was created in September 2012 and hosts the README, man page, and tagged releases.

The tool is built around Apple's Uniform Type Identifiers and related handler metadata. It can read settings from stdin, a settings file, an XML plist, or command-line arguments, making it easy to script default-app policy on macOS.

### Adoptionsgeschichte

duti's adoption is mostly in macOS automation circles: users install it through package managers or build it from source, then use it in setup scripts to make browser, editor, document, and URL-scheme defaults reproducible. The README also labels the project unsupported, which makes its persistence in package managers part of its history.

### Wie es verwendet wird

The man page documents `duti -s` for setting handlers, `duti -x` for printing the default app for an extension, and file/plist input for bulk settings. A settings file contains bundle ID, UTI or URL scheme, and role fields such as viewer, editor, shell, all, or none.

### Warum Paket-Nerds sich dafür interessieren

duti matters because macOS developer machines are often rebuilt from scripts, and default application bindings are otherwise awkward to automate. It gives Homebrew/MacPorts/Nix users a small, scriptable bridge into Apple's UTI and handler database.

### Zeitleiste

- 2008: README says duti was originally released into the public domain.
- 2012-09-25: GitHub repository created.
- 2018-04: README license note dated April 2018.
- 2023-07-09: GitHub repository last pushed according to the GitHub API snapshot.

### Related projects

- The README links `dutis` as an interactive wrapper around duti. Conceptually, duti also sits next to macOS Launch Services tooling and Apple's UTI documentation.

### Quellen

- <https://github.com/moretension/duti>
- <https://github.com/moretension/duti/blob/master/duti.1>
- <https://api.github.com/repos/moretension/duti>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** duti
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Andere Paketmanager-Einträge

- Nix - duti: normalized package name match | nixpkgs package indexes: pkgs/by-name/du/duti/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - duti: normalized package name match | MacPorts ports tree: sysutils/duti/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Verwandte Links

- [Source-control packages](https://www.automicvault.com/de/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/de/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [autoconf](https://www.automicvault.com/de/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [infat](https://www.automicvault.com/de/pkg/brew/infat/) - Shares av.db curated category or tags: cli, default-apps, macos, system, url-schemes.
- [terminal-notifier](https://www.automicvault.com/de/pkg/brew/terminal-notifier/) - Shares av.db curated category or tags: cli, desktop-integration, macos, system.
- [defaultbrowser](https://www.automicvault.com/de/pkg/brew/defaultbrowser/) - Shares av.db curated category or tags: cli, default-apps, macos, system.
- [desktop-file-utils](https://www.automicvault.com/de/pkg/brew/desktop-file-utils/) - Shares av.db curated category or tags: cli, desktop-integration, system.
- [asitop](https://www.automicvault.com/de/pkg/brew/asitop/) - Shares av.db curated category or tags: cli, macos, system.
- [bluetoothconnector](https://www.automicvault.com/de/pkg/brew/bluetoothconnector/) - Shares av.db curated category or tags: cli, macos, system.
- [blueutil](https://www.automicvault.com/de/pkg/brew/blueutil/) - Shares av.db curated category or tags: cli, macos, system.
- [brightness](https://www.automicvault.com/de/pkg/brew/brightness/) - Shares av.db curated category or tags: cli, macos, system.

## Combined YAML source

View the package source record on GitHub. [combined/duti.yml](https://github.com/automic-vault/db/blob/main/combined/duti.yml)


## Quellen

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
