Automic VaultAutomic Vault

brew

Installer babelfish avec Homebrew, apt, Nix

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

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install babelfish

local Homebrew formula metadata

Linux

Debian aptvérifié · 92%
sudo apt install python3-babelfish

Debian stable package indexes · python3-babelfish · Source: deb.debian.org

Nixvérifié · 92%
nix profile install nixpkgs#babelfish

nixpkgs package indexes · babelfish · Source: raw.githubusercontent.com

aperçu

Résumé du paquet

Translate bash scripts to fish

Commandes et alias

  • babelfish

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

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

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.

Chronologie

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

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 8 plateformes.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
babelfishcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-08
version du gestionnaire1.2.1
gestionnaire mis à jour
données localesOK
amontà jour
dernière version détectéev1.2.1

https://github.com/bouk/babelfish

  • infoNo package-manager update timestamp was available.confiance faible

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:babelfish
Version1.2.1
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/babelfish
Page d'accueilhttps://github.com/bouk/babelfish
Dépôthttps://github.com/bouk/babelfish
Docs amonthttps://github.com/bouk/babelfish#readme
LicenceMIT
Archive sourcehttps://github.com/bouk/babelfish/archive/refs/tags/v1.2.1.tar.gz
Dépendances de compilationgo
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré
PrécautionsThe shell hook has been installed, you can use it by running: $ source $HOMEBREW_PREFIX/share/fish/vendor_functions.d/babel.fish

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebabelfish
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

python3-babelfish 0.6.1-1

library to work with countries and languages (Python 3)

https://github.com/Diaoul/babelfish

sudo apt install python3-babelfish
  • Section: python
  • Architecture: all
  • Source Package: babelfish
  • 4 Dépendances
  • normalized package name match
  • Correspondance par : Babelfish
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-babelfish from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

babelfish

nix profile install nixpkgs#babelfish
  • normalized package name match
  • Correspondance par : Babelfish
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: babelfish from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

python3-babelfish 0.6.0-2

library to work with countries and languages (Python 3)

https://github.com/Diaoul/babelfish

sudo apt install python3-babelfish
  • Section: universe/python
  • Architecture: all
  • Source Package: babelfish
  • 2 Dépendances
  • normalized package name match
  • Correspondance par : Babelfish
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-babelfish from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment