macOS
brew install translate-shelllocal Homebrew formula metadata
sudo port install translate-shellMacPorts ports tree · textproc/translate-shell/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für translate-shell in AI-Agent-Workflows.
Installation
brew install translate-shelllocal Homebrew formula metadata
sudo port install translate-shellMacPorts ports tree · textproc/translate-shell/Portfile · Quelle: api.github.com
sudo apk add translate-shellAlpine Linux edge package indexes · translate-shell · Quelle: dl-cdn.alpinelinux.org
sudo apt install translate-shellDebian stable package indexes · translate-shell · Quelle: deb.debian.org
sudo dnf install translate-shellFedora Rawhide package metadata · translate-shell · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#translate-shellnixpkgs package indexes · pkgs/by-name/tr/translate-shell/package.nix · Quelle: api.github.com
sudo pacman -S translate-shellArch Linux sync databases · translate-shell · Quelle: geo.mirror.pkgbuild.com
sudo zypper install translate-shellopenSUSE Tumbleweed package metadata · translate-shell · Quelle: download.opensuse.org
Überblick
Command-line translator using Google Translate and more
Verlauf
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.
Sicherheitslage
generalized runtime or code generation signal.
yellow Risiko · mittel Konfidenz · runtime
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
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.transExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
trans | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/soimort/translate-shell
Installationsmetadaten
| Paketschlüssel | brew:translate-shell |
|---|---|
| Version | 0.9.7.1 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/translate-shell |
| Homepage | https://www.soimort.org/translate-shell |
| Repository | https://github.com/soimort/translate-shell |
| Upstream-Dokumentation | https://www.soimort.org/translate-shell |
| Lizenz | Unlicense |
| Quellarchiv | https://github.com/soimort/translate-shell/archive/refs/tags/v0.9.7.1.tar.gz |
| Abhängigkeiten | fribidi, gawk, rlwrap |
| Bottle | verfügbar (auf all) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
| Einschränkungen | 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'. |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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-shellQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.