# Installer duti avec Homebrew, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de duti pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install duti
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install duti
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:duti
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.5.4
- **Résumé source:** Select default apps for documents and URL schemes on macOS
- **Page d'accueil:** <https://github.com/moretension/duti/>
- **Dépôt:** <https://github.com/moretension/duti>
- **Dernière mise à jour:** 2026-08-02T15:56:45+09:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- duti (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.5.4
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- 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


## Combined YAML source

View the package source record on GitHub. [combined/duti.yml](https://github.com/mxcl/pkgdb/blob/main/combined/duti.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
