# detox を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman でインストール

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

## インストール

```sh
sudo av install brew:detox
```

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

### macOS

- Homebrew (100%):

```sh
brew install detox
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install detox
```

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

### Linux

- apk (92%):

```sh
sudo apk add detox
```

  証拠: Alpine Linux edge package indexes: detox from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install detox
```

  証拠: Debian stable package indexes: detox from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install detox
```

  証拠: Fedora Rawhide package metadata: detox from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#detox
```

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

- pacman (92%):

```sh
sudo pacman -S detox
```

  証拠: Arch Linux sync databases: detox from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:detox
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.0.1
- **ソース概要:** Utility to replace problematic characters in filenames
- **ホームページ:** <https://detox.sourceforge.net/>
- **リポジトリ:** <https://github.com/dharple/detox>
- **最終更新:** 2026-07-28T15:19:24Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- detox (エイリアス)
- inline-detox (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 3.0.1
## プロジェクトの歴史と使われ方

detox is a Unix-style filename cleanup utility. Its README and man page describe replacing awkward or unsafe filename characters, transcoding legacy encodings such as ISO-8859-1 and CP-1252 to UTF-8, and previewing changes with dry-run mode.

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

Doug Harple's man page says detox began as a way to clean up files received from other operating systems, where spaces, parentheses, brackets, ampersands, and similar characters were easy to create but annoying in FreeBSD and Linux shells. The GitHub repository preserves older 1.x releases and modernized 2.x and 3.x lines.

### 採用の歴史

detox became a package-manager utility for users with messy download, transfer, media, or archival directories. Its README explicitly notes that many distributions include detox, and its package-manager footprint spans Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, MacPorts, and Nix-style ecosystems in the supplied facts.

### 使われ方

The usual workflow is cautious batch renaming: run detox -n or --dry-run first, then apply a sequence to one file, a directory, or a recursive tree. The man page documents system and user detoxrc files for custom sequences and translation tables.

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

detox is package-nerd bait because it is a small C utility that encodes decades of shell pain around filenames. Its 2.0 and 3.0 changes are also a tidy example of Unix tools adapting from ASCII-centric transliteration toward UTF-8-preserving behavior.

### タイムライン

- 2008: GitHub release v1.2.0 is labeled as a legacy release from 2008.
- 2017: v1.3.0 migrated the build to the full autoconf suite.
- 2021: 2.0.0-beta1 changed default transliteration behavior and added built-in config support.
- 2024: 2.0.0 added XDG_CONFIG_HOME lookup and merged v1.4.5.
- 2025: 3.0.0 removed most transliteration from the default Unicode tables.

### Related projects

- The project belongs near renameutils, convmv, iconv-driven scripts, shell-safe filename tools, and other Unix file hygiene utilities.

### ソース

- <https://github.com/dharple/detox>
- <https://github.com/dharple/detox/blob/main/README.md>
- <https://github.com/dharple/detox/blob/main/CHANGELOG.md>
- <https://github.com/dharple/detox/blob/main/man/detox.1>
- <https://api.github.com/repos/dharple/detox>


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.detoxrc, /etc/detoxrc, /usr/local/etc/detoxrc
## 他のパッケージマネージャ記録

- Debian apt - detox - 2.0.0-4: normalized package name match | Debian stable package indexes: detox from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | replace problematic characters in filenames | https://github.com/dharple/detox
- Nix - detox: normalized package name match | nixpkgs package indexes: pkgs/by-name/de/detox/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - detox - 1.4.5-5: normalized package name match | Ubuntu 24.04 LTS package indexes: detox from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | replace problematic characters in filenames | https://github.com/dharple/detox
- apk - detox - 2.0.0-r0: normalized package name match | Alpine Linux edge package indexes: detox from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Utility for cleaning up filenames | https://github.com/dharple/detox
- apk - detox-doc - 2.0.0-r0: normalized package name match | Alpine Linux edge package indexes: detox-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Utility for cleaning up filenames (documentation) | https://github.com/dharple/detox
- dnf - detox - 3.0.1-7.fc45: normalized package name match | Fedora Rawhide package metadata: detox from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Utility to replace problematic characters in file names | https://github.com/dharple/detox
- pacman - detox - 3.0.1-1: normalized package name match | Arch Linux sync databases: detox from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An utility designed to clean up filenames by replacing characters with standard equivalents | https://github.com/dharple/detox
- MacPorts - detox: normalized package name match | MacPorts ports tree: sysutils/detox/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/detox.yml](https://github.com/mxcl/pkgdb/blob/main/combined/detox.yml)


## ソース

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