# duti を Homebrew, MacPorts, Nix でインストール

duti のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install duti
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install duti
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:duti
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/duti>
- **バージョン:** 1.5.4
- **ソース概要:** Select default apps for documents and URL schemes on macOS
- **ホームページ:** <https://github.com/moretension/duti/>
- **リポジトリ:** <https://github.com/moretension/duti>
- **上流ドキュメント:** <https://github.com/moretension/duti#readme>
- **ライセンス:** LicenseRef-Homebrew-public-domain
- **ソースアーカイブ:** <https://github.com/moretension/duti/archive/refs/tags/duti-1.5.4.tar.gz>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- duti (cli)
- duti (エイリアス)

## ビルド依存関係

- autoconf

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 1.5.4
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/moretension/duti
- 検出された最新: duti-1.5.4 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

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


## ソース

- 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
