# Installer hostess avec Homebrew, Nix, pacman

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

## installation

```sh
sudo av install brew:hostess
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install hostess
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#hostess
```

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

- pacman (92%):

```sh
sudo pacman -S hostess
```

  Preuve: Arch Linux sync databases: hostess from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Faits du paquet

- **Clé du paquet:** brew:hostess
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.5.2
- **Résumé source:** Idempotent command-line utility for managing your /etc/hosts file
- **Page d'accueil:** <https://github.com/cbednarski/hostess>
- **Dépôt:** <https://github.com/cbednarski/hostess>
- **Dernière mise à jour:** 2026-07-27T14:32:25+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- hostess (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

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

hostess is a Go command-line utility for idempotently managing hosts-file entries. Its niche is deliberately small: add, remove, list, format, enable, disable, dump, and apply entries in `/etc/hosts` or the Windows hosts file without hand-editing the file.

### Historique du projet

Chris Bednarski's README frames the motivation plainly: developers edit hosts files for development, testing, debugging, and production DNS failures, and manual edits are annoying. The project turns that workflow into a repeatable CLI suitable for Makefiles and deployment scripts.

The changelog shows the package starting with v0.1.0 in 2015, then adding build reliability, fixed-format checks, Windows support, Go module support, and a significant CLI/API cleanup in 2020.

### Historique d'adoption

hostess reached users through GitHub releases and package managers including Homebrew, Nix, and Arch. Its cross-platform behavior matters for adoption because the Unix hosts file and Windows hosts file have different paths and formatting expectations.

### Modes d'utilisation

Common usage is `hostess add name ip`, `hostess rm name`, `hostess ls`, `hostess off name`, `hostess on name`, `hostess fmt`, `hostess dump`, and `hostess apply`. The README notes that elevated privileges are required because hosts files are protected by the operating system.

Environment variables provide the small amount of configuration the tool needs: `HOSTESS_FMT` can override format detection and `HOSTESS_PATH` can override the hosts-file path.

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

hostess is a tidy example of a package-manager-friendly utility: one small executable, obvious system integration, no daemon, and behavior that replaces a risky manual edit. The 2020 refactor is also package-relevant because it removed an external CLI dependency and modernized Go tooling.

### Chronologie

- 2015: v0.1.0 initial release.
- 2016: v0.2.x vendors the CLI dependency for more reliable builds.
- 2018: v0.3.0 adds a fixed-format check and improves parsing failure behavior.
- 2020: v0.4.0 refactors the CLI/API, removes external dependency usage, and adds Go module support.
- 2020: v0.5.0 adds a Windows-specific hosts format.
- 2020: v0.5.2 fixes and clarifies duplicate/conflicting entry handling in format mode.

### Related projects

- The Unix `/etc/hosts` file and Windows `C:\Windows\System32\drivers\etc\hosts` file are the managed targets.
- Other hosts-file editors and local-development DNS helpers are related by workflow.
- Go module tooling is related through the v0.4.0 project modernization.

### Sources

- CHANGELOG.md: release timeline and major behavior changes.
- GitHub README: purpose, examples, hosts-file paths, environment variables, and privilege notes.
- Homebrew input metadata: package-manager identity and ecosystem tags.


## 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 - hostess: normalized package name match | nixpkgs package indexes: pkgs/by-name/ho/hostess/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - hostess - 0.5.2-5: normalized package name match | Arch Linux sync databases: hostess from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An idempotent command-line utility for managing your /etc/hosts file. | https://github.com/cbednarski/hostess


## Combined YAML source

View the package source record on GitHub. [combined/hostess.yml](https://github.com/mxcl/pkgdb/blob/main/combined/hostess.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
