macOS
brew install babelfishlocal Homebrew formula metadata
brew / 順位 8096
babelfish のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install babelfishlocal Homebrew formula metadata
nix profile install nixpkgs#babelfishnixpkgs package indexes · babelfish · ソース: raw.githubusercontent.com
sudo apt install python3-babelfishDebian stable package indexes · python3-babelfish · ソース: deb.debian.org
概要
Translate bash scripts to fish
履歴
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.
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.
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.
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.
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
babelfish | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:babelfish |
|---|---|
| バージョン | 1.2.1 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://github.com/bouk/babelfish |
| リポジトリ | https://github.com/bouk/babelfish |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
python3-babelfish 0.6.1-1
library to work with countries and languages (Python 3)
https://github.com/Diaoul/babelfish
sudo apt install python3-babelfishbabelfish
nix profile install nixpkgs#babelfishpython3-babelfish 0.6.0-2
library to work with countries and languages (Python 3)
https://github.com/Diaoul/babelfish
sudo apt install python3-babelfishソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.