babelfish
« Back to VersTracker
Description:
Translate bash scripts to fish
Type: Formula  |  Latest Version: 1.2.1@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: shell transpiler bash fish developer-tools
Install: brew install babelfish
About:
Babelfish is a transpiler that converts bash scripts into fish shell syntax. It enables developers to leverage existing bash scripts within a fish environment without manual rewriting. This tool simplifies migrating shell configurations and scripts between different Unix shells.
Key Features:
  • Automatic transpilation from bash to fish syntax
  • Preserves logic and functionality during conversion
  • Integrates with the fish shell via a vendor function
  • Supports a wide range of bash constructs
Use Cases:
  • Migrating existing bash scripts to a fish-based workflow
  • Using third-party bash utilities in a fish shell environment
  • Automating shell configuration conversion
Alternatives:
  • bash – Bash is the source language; Babelfish allows running bash logic inside fish without switching shells.
  • fish – Fish is the target language; Babelfish bridges the syntax gap between the two.
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Important Notes:
The shell hook has been installed, you can use it by running:

  $ source $HOMEBREW_PREFIX/share/fish/vendor_functions.d/babel.fish
Version History
Detected Version Rev Change Commit
Sep 13, 2025 1:41pm 0 VERSION_BUMP fc44f329