# babelfish mit Homebrew, Nix, apt installieren

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

## Installation

```sh
sudo av install brew:babelfish
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install babelfish
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#babelfish
```

  Evidenz: nixpkgs package indexes: babelfish from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- Debian apt (92%):

```sh
sudo apt install python3-babelfish
```

  Evidenz: Debian stable package indexes: python3-babelfish from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Paketfakten

- **Paketschlüssel:** brew:babelfish
- **Paketmanager:** Homebrew
- **Version:** 1.2.1
- **Quellzusammenfassung:** Translate bash scripts to fish
- **Homepage:** <https://github.com/bouk/babelfish>
- **Repository:** <https://github.com/bouk/babelfish>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- babelfish (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

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

babelfish is a small command-line translator that converts bash shell snippets or scripts into fish shell code. Its README frames it as a faster alternative to running bash-backed compatibility layers every time fish needs to source shell setup code.

### Projektgeschichte

The project was created by Bouke Haarsma to avoid relying on fish-foreign-env or bass for repeated bash process execution. Instead, babelfish parses shell code with mvdan.cc/sh and emits equivalent fish code where possible.

The public GitHub releases show a 1.0.0 release in January 2021, a 1.1.0 release shortly after, and a 1.2.0 release in June 2023. The README still describes limitations, including untranslated variables such as BASH_SOURCE and incomplete arithmetic-expression support.

### Adoptionsgeschichte

babelfish's adoption is niche and shell-specific. The README documents Homebrew and Go installation, and the package metadata in this batch shows Homebrew and Nix packaging for this Go-based translator.

Its practical audience is fish users who need to consume bash-oriented environment setup scripts, version-manager hooks, or shell snippets without leaving fish or spawning bash repeatedly.

### Wie es verwendet wird

Users pipe bash code into babelfish and can then inspect or source the generated fish code. The README demonstrates translating a function, exporting SSH_AUTH_SOCK, setting local variables, and using a shell hook to source bash-oriented setup scripts in fish.

Because its translation coverage is incomplete, babelfish is best treated as a pragmatic bridge for common shell setup patterns rather than a perfect bash interpreter.

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

babelfish is package-nerd interesting in the small-tool sense: it exists to smooth over the mismatch between package ecosystems that ship bash activation scripts and users who prefer fish.

It also shows a common CLI pattern in modern packaging: take a mature parser library, here mvdan.cc/sh, and wrap it in a focused translator that solves one irritating shell integration problem.

### Zeitleiste

- 2021: babelfish 1.0.0 is released on GitHub.
- 2021: babelfish 1.1.0 follows with continued maintenance.
- 2023: babelfish 1.2.0 is released on GitHub.
- 2026: Package metadata in this batch shows babelfish still present in Homebrew and Nix.

### Related projects

- fish is the target shell for generated output.
- bash is the source shell language babelfish translates from.
- fish-foreign-env and bass are named by the README as earlier approaches babelfish was intended to avoid for performance reasons.
- mvdan.cc/sh provides the shell parser used by babelfish.

### Quellen

- <https://api.github.com/repos/bouk/babelfish/releases>
- <https://github.com/bouk/babelfish>
- input.json source_facts.package-manager


## Sicherheitshinweise

narrow executable package without higher-risk signals.

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

## Andere Paketmanager-Einträge

- Debian apt - python3-babelfish - 0.6.1-1: normalized package name match | Debian stable package indexes: python3-babelfish from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to work with countries and languages (Python 3) | https://github.com/Diaoul/babelfish
- Nix - babelfish: normalized package name match | nixpkgs package indexes: babelfish from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - python3-babelfish - 0.6.0-2: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-babelfish from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library to work with countries and languages (Python 3) | https://github.com/Diaoul/babelfish


## Combined YAML source

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