macOS
brew install translate-shelllocal Homebrew formula metadata
sudo port install translate-shellMacPorts ports tree · textproc/translate-shell/Portfile · ソース: api.github.com
brew
translate-shell のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install translate-shelllocal Homebrew formula metadata
sudo port install translate-shellMacPorts ports tree · textproc/translate-shell/Portfile · ソース: api.github.com
sudo apk add translate-shellAlpine Linux edge package indexes · translate-shell · ソース: dl-cdn.alpinelinux.org
sudo apt install translate-shellDebian stable package indexes · translate-shell · ソース: deb.debian.org
sudo dnf install translate-shellFedora Rawhide package metadata · translate-shell · ソース: dl.fedoraproject.org
nix profile install nixpkgs#translate-shellnixpkgs package indexes · pkgs/by-name/tr/translate-shell/package.nix · ソース: api.github.com
sudo pacman -S translate-shellArch Linux sync databases · translate-shell · ソース: geo.mirror.pkgbuild.com
sudo zypper install translate-shellopenSUSE Tumbleweed package metadata · translate-shell · ソース: download.opensuse.org
概要
Command-line translator using Google Translate and more
履歴
Translate Shell is a POSIX-oriented command-line translator, distributed as the `trans` command, that queries online translation engines from a terminal. It began under the name Google Translate CLI and later broadened into a multi-engine tool.
The official README identifies Translate Shell as formerly Google Translate CLI and describes Google Translate as the default engine, with Bing Translator, Yandex.Translate, and Apertium also supported. The tool is implemented around GNU Awk plus a shell wrapper, which made it unusually portable for a network-facing terminal utility.
The project documents multiple installation styles: a self-contained downloadable executable, package-manager installation, Zsh Antigen integration, Git builds, and Docker. Official release metadata shows the 0.9.6 line active through the late 2010s and the 0.9.7 line released in 2022 and 2023.
Translate Shell became a package-manager staple because it solved a common terminal-user problem without requiring a browser or GUI. Its README says it works on GNU/Linux, macOS, BSD, Android through Termux, and Windows through WSL, Cygwin, or MSYS2, and the input facts show packaging across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, MacPorts, Nix, and openSUSE.
The tool's adoption also reflects shell culture: it can translate command arguments, standard input, multi-line text, or interactive shell input, and optional dependencies such as rlwrap, paging tools, text-to-speech programs, and spell checkers improve the terminal experience without becoming mandatory.
Users call `trans` with source and target language expressions, such as `:fr`, `en:zh`, or multiple target languages joined with plus signs. It supports verbose output, brief mode, dictionary mode, language identification, interactive shell mode, standard input, and optional display handling for bidirectional scripts.
For package nerds, Translate Shell is the classic example of turning a web translation service into a Unix filter. It is small enough to install everywhere, scriptable enough for dotfiles and editor hooks, and packaged widely enough that the same `trans` muscle memory works across Linux distributions and macOS.
Its Awk implementation and self-contained executable also make it a useful case study in packaging network-dependent command-line tools: the binary-like script is easy to distribute, while optional dependencies and upstream web-service changes are where maintainers feel the operational cost.
セキュリティ状態
generalized runtime or code generation signal.
リスク yellow · 信頼度 中 · runtime
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.translate-shell/init.trans$XDG_CONFIG_HOME/translate-shell/init.trans実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
trans | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/soimort/translate-shell
インストールメタデータ
| パッケージキー | brew:translate-shell |
|---|---|
| バージョン | 0.9.7.1 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/translate-shell |
| ホームページ | https://www.soimort.org/translate-shell |
| リポジトリ | https://github.com/soimort/translate-shell |
| 上流ドキュメント | https://www.soimort.org/translate-shell |
| ライセンス | Unlicense |
| ソースアーカイブ | https://github.com/soimort/translate-shell/archive/refs/tags/v0.9.7.1.tar.gz |
| 依存関係 | fribidi, gawk, rlwrap |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
| 注意点 | By default, text-to-speech functionality is provided by macOS's builtin `say' command. This functionality may be improved in certain cases by installing one of mplayer, mpv, or mpg123, all of which are available through `brew install'. |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | translate-shell |
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
translate-shell 0.9.7.1-2
Command-line translator using Google Translate, etc.
https://github.com/soimort/translate-shell
sudo apt install translate-shelltranslate-shell
nix profile install nixpkgs#translate-shelltranslate-shell 0.9.7.1-2
Command-line translator using Google Translate, etc.
https://github.com/soimort/translate-shell
sudo apt install translate-shelltranslate-shell 0.9.7.1-r2
Command-line online translator
https://www.soimort.org/translate-shell/
sudo apk add translate-shelltranslate-shell-doc 0.9.7.1-r2
Command-line online translator (documentation)
https://www.soimort.org/translate-shell/
sudo apk add translate-shell-doctranslate-shell 0.9.7.1-8.fc44
A command-line online translator
https://github.com/soimort/translate-shell
sudo dnf install translate-shelltranslate-shell 0.9.7.1-2
A command-line interface and interactive shell for Google Translate
https://www.soimort.org/translate-shell/
sudo pacman -S translate-shelltranslate-shell 0.9.7.1-1.6
Command line translator using various online services as backends
https://www.soimort.org/translate-shell
sudo zypper install translate-shelltranslate-shell
sudo port install translate-shellソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.