macOS
brew install translate-shelllocal Homebrew formula metadata
sudo port install translate-shellMacPorts ports tree · textproc/translate-shell/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de translate-shell pour les workflows d'agents IA.
installation
brew install translate-shelllocal Homebrew formula metadata
sudo port install translate-shellMacPorts ports tree · textproc/translate-shell/Portfile · Source: api.github.com
sudo apk add translate-shellAlpine Linux edge package indexes · translate-shell · Source: dl-cdn.alpinelinux.org
sudo apt install translate-shellDebian stable package indexes · translate-shell · Source: deb.debian.org
sudo dnf install translate-shellFedora Rawhide package metadata · translate-shell · Source: dl.fedoraproject.org
nix profile install nixpkgs#translate-shellnixpkgs package indexes · pkgs/by-name/tr/translate-shell/package.nix · Source: api.github.com
sudo pacman -S translate-shellArch Linux sync databases · translate-shell · Source: geo.mirror.pkgbuild.com
sudo zypper install translate-shellopenSUSE Tumbleweed package metadata · translate-shell · Source: download.opensuse.org
aperçu
Command-line translator using Google Translate and more
historique
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.
posture de sécurité
generalized runtime or code generation signal.
risque yellow · confiance moyen · runtime
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.
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.transexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
trans | cli | exécutable global |
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.
https://github.com/soimort/translate-shell
métadonnées d'installation
| Clé du paquet | brew:translate-shell |
|---|---|
| Version | 0.9.7.1 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/translate-shell |
| Page d'accueil | https://www.soimort.org/translate-shell |
| Dépôt | https://github.com/soimort/translate-shell |
| Docs amont | https://www.soimort.org/translate-shell |
| Licence | Unlicense |
| Archive source | https://github.com/soimort/translate-shell/archive/refs/tags/v0.9.7.1.tar.gz |
| Dépendances | fribidi, gawk, rlwrap |
| Bouteille | disponible (sur all) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
| Précautions | 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'. |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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-shellpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.