# Installer detach avec Homebrew, Nix

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

## installation

```sh
sudo av install brew:detach
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install detach
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#detach
```

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

## Faits du paquet

- **Clé du paquet:** brew:detach
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/detach>
- **Version:** 0.2.3
- **Résumé source:** Execute given command in detached process
- **Page d'accueil:** <https://inglorion.net/software/detach/>
- **Docs amont:** <https://inglorion.net/software/detach/>
- **Licence:** MIT
- **Archive source:** <https://inglorion.net/download/detach-0.2.3.tar.bz2>
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- detach (cli)
- detach (alias)

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.2.3
- données locales: OK
- dépôt amont: https://inglorion.net/software/detach/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

detach is a small Unix-style command for starting another process outside the control of the current terminal. Its official page frames it as a portable utility that forks, detaches from the terminal, and then executes the requested command.

### Historique du projet

Robbert Haarman's official detach page is dated 2010-12-11 and still presents the project as a minimalist command-line tool. The page offers an initial 0.1.0 source release and a later 0.2.3 release that added pidfiles, explicit stdin/stdout/stderr files, and a foreground mode.

### Historique d'adoption

detach occupies the old-school Unix packaging niche: tiny source tarball, Makefile installation, and availability through package managers for users who want a command rather than a shell built-in. Its official documentation emphasizes portability across OpenBSD, NetBSD, GNU/Linux, and Mac OS X rather than a large plugin ecosystem.

### Modes d'utilisation

The common use case is launching a command so it survives terminal exit without depending on shell job control. The official examples compare it with setsid, disown, and nohup, and show why a standalone executable can be useful from scripts or other programs.

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

For package nerds, detach is interesting because it packages one precise process-control behavior as a tiny, portable C utility. It sits in the same mental drawer as nohup, setsid, daemon helpers, and shell job-control commands, but with a deliberately narrow interface.

### Chronologie

- 2010: Official detach page dated 2010-12-11 documents the tool and source releases.
- 2010: Initial 0.1.0 release provided the minimal command-running behavior.
- 2010: Release 0.2.3 added pidfiles, stream-file options, and foreground execution.

### Related projects

- The official documentation directly compares detach with util-linux setsid, shell disown built-ins, and POSIX-style nohup.

### Sources

- <https://inglorion.net/software/detach/>


## Notes de sécurité

narrow executable package without higher-risk signals.

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

## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- Nix - detach: normalized package name match | nixpkgs package indexes: pkgs/by-name/de/detach/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Liens liés

- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/fr/brew-utility-packages/) - Matched Homebrew package provider.
- [reattach-to-user-namespace](https://pkg.so/fr/brew/reattach-to-user-namespace/) - Shares pkgdb curated category or tags: cli, process, process-management, system.
- [daemon](https://pkg.so/fr/brew/daemon/) - Shares pkgdb curated category or tags: cli, process-management, system, unix.
- [lockrun](https://pkg.so/fr/brew/lockrun/) - Shares pkgdb curated category or tags: cli, process-management, system, unix.
- [daemonize](https://pkg.so/fr/brew/daemonize/) - Shares pkgdb curated category or tags: cli, process-management, system, unix.
- [procs](https://pkg.so/fr/brew/procs/) - Shares pkgdb curated category or tags: cli, process-management, system.
- [supervisor](https://pkg.so/fr/brew/supervisor/) - Shares pkgdb curated category or tags: cli, daemon, process-management, system, unix.
- [cpulimit](https://pkg.so/fr/brew/cpulimit/) - Shares pkgdb curated category or tags: cli, process-management, system.
- [psgrep](https://pkg.so/fr/brew/psgrep/) - Shares pkgdb curated category or tags: cli, process-management, system.
- [forever](https://pkg.so/fr/npm/forever/) - Local package facts share a topical domain. Shared terms: cli, daemon, given, management, process.

## Combined YAML source

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


## Sources

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