# 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
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/hostess>
- **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>
- **Lizenz:** MIT
- **Quellarchiv:** <https://github.com/cbednarski/hostess/archive/refs/tags/v0.5.2.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-27T14:32:25+02:00
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- hostess (cli)
- hostess (Alias)

## Build-Abhängigkeiten

- go

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 0.5.2
- Manager aktualisiert: 2026-07-27
- lokale Daten: OK
- Upstream-Repository: https://github.com/cbednarski/hostess
- neueste erkannte Version: v0.5.2 (aktuell)
## 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

## Details aus der Quelldatenbank

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

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


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/de/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/de/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/de/brew/go/) - Build dependency declared by Homebrew.
- [mactop](https://pkg.so/de/brew/mactop/) - Shares pkgdb curated category or tags: cli, go, system.
- [gdu](https://pkg.so/de/brew/gdu/) - Shares pkgdb curated category or tags: cli, go, system.
- [witr](https://pkg.so/de/brew/witr/) - Shares pkgdb curated category or tags: cli, go, system.
- [mender-artifact](https://pkg.so/de/brew/mender-artifact/) - Shares pkgdb curated category or tags: cli, go, system.
- [mender-cli](https://pkg.so/de/brew/mender-cli/) - Shares pkgdb curated category or tags: cli, go, system.
- [g-ls](https://pkg.so/de/brew/g-ls/) - Shares pkgdb curated category or tags: cli, go, system.
- [cpuid](https://pkg.so/de/brew/cpuid/) - Shares pkgdb curated category or tags: cli, go, system.
- [gops](https://pkg.so/de/brew/gops/) - Shares pkgdb curated category or tags: cli, go, system.
- [hostile](https://pkg.so/de/npm/hostile/) - Local package facts share a topical domain. Shared terms: cli, etc, file, hosts, hosts-file.
- [brename](https://pkg.so/de/brew/brename/) - Local package facts share a topical domain. Shared terms: cli, command-line, file, line, system.
- [clifm](https://pkg.so/de/brew/clifm/) - Local package facts share a topical domain. Shared terms: cli, command-line, file, line, system.

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