# hostess mit Homebrew, Nix, pacman installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für hostess in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install hostess
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

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

## Paketfakten

- **Paketschlüssel:** brew:hostess
- **Paketmanager:** Homebrew
- **Version:** 0.5.2
- **Quellzusammenfassung:** Idempotent command-line utility for managing your /etc/hosts file
- **Homepage:** <https://github.com/cbednarski/hostess>
- **Repository:** <https://github.com/cbednarski/hostess>
- **Zuletzt aktualisiert:** 2026-07-27T14:32:25+02:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- hostess (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.5.2
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

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


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

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


## Quellen

- 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
