Automic VaultAutomic Vault

brew

translate-shell を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

translate-shell のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install translate-shell

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install translate-shell

MacPorts ports tree · textproc/translate-shell/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add translate-shell

Alpine Linux edge package indexes · translate-shell · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install translate-shell

Debian stable package indexes · translate-shell · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install translate-shell

Fedora Rawhide package metadata · translate-shell · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#translate-shell

nixpkgs package indexes · pkgs/by-name/tr/translate-shell/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S translate-shell

Arch Linux sync databases · translate-shell · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install translate-shell

openSUSE Tumbleweed package metadata · translate-shell · ソース: download.opensuse.org

概要

パッケージ概要

Command-line translator using Google Translate and more

コマンドとエイリアス

  • trans

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • Early project: The README states that Translate Shell was formerly Google Translate CLI.
  • 2017-2020: Official GitHub releases show the 0.9.6 series continuing through several maintenance releases.
  • 2022: Official GitHub releases list version 0.9.7.
  • 2023: The official man page and GitHub releases list version 0.9.7.1.

Related projects

  • Translate Shell is related to online translation engines such as Google Translate, Bing Translator, Yandex.Translate, and Apertium. In packaging terms it also sits near terminal dictionary, text-to-speech, and shell productivity tools.

セキュリティ状態

リスクレベル: yellow

generalized runtime or code generation signal.

リスク分類器

リスク yellow · 信頼度 中 · runtime

理由

  • generalized runtime or code generation signal

信号

  • text:shell

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 3 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.translate-shell/init.trans$XDG_CONFIG_HOME/translate-shell/init.trans

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
transcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版0.9.7.1
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nametranslate-shell
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

translate-shell 0.9.7.1-2

Command-line translator using Google Translate, etc.

https://github.com/soimort/translate-shell

sudo apt install translate-shell
  • Section: contrib/misc
  • Architecture: all
  • 3 依存関係
  • 1 提供
  • 10 任意依存関係
  • normalized package name match
  • 一致条件: Translate Shell
Debian stable package indexes · deb.debian.org · Debian stable package indexes: translate-shell from https://deb.debian.org/debian/dists/stable/contrib/binary-amd64/Packages.xz
Nix95%

translate-shell

nix profile install nixpkgs#translate-shell
  • normalized package name match
  • 一致条件: Translate Shell
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tr/translate-shell/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

translate-shell 0.9.7.1-2

Command-line translator using Google Translate, etc.

https://github.com/soimort/translate-shell

sudo apt install translate-shell
  • Section: multiverse/misc
  • Architecture: all
  • 3 依存関係
  • 1 提供
  • 10 任意依存関係
  • normalized package name match
  • 一致条件: Translate Shell
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: translate-shell from https://archive.ubuntu.com/ubuntu/dists/noble/multiverse/binary-amd64/Packages.gz
apk95%

translate-shell 0.9.7.1-r2

Command-line online translator

https://www.soimort.org/translate-shell/

sudo apk add translate-shell
  • License: Unlicense
  • Architecture: x86_64
  • Source Package: translate-shell
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Translate Shell
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: translate-shell from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

translate-shell-doc 0.9.7.1-r2

Command-line online translator (documentation)

https://www.soimort.org/translate-shell/

sudo apk add translate-shell-doc
  • License: Unlicense
  • Architecture: x86_64
  • Source Package: translate-shell
  • normalized package name match
  • 一致条件: Translate Shell
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: translate-shell-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

translate-shell 0.9.7.1-8.fc44

A command-line online translator

https://github.com/soimort/translate-shell

sudo dnf install translate-shell
  • License: LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: translate-shell
  • 5 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Translate Shell
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: translate-shell from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

translate-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-shell
  • License: Unlicense
  • Architecture: any
  • 2 依存関係
  • 11 任意依存関係
  • normalized package name match
  • 一致条件: Translate Shell
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: translate-shell from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

translate-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-shell
  • License: Unlicense
  • Category: Productivity/Networking/Web/Frontends
  • Architecture: noarch
  • Source Package: translate-shell
  • 3 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Translate Shell
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: translate-shell from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

translate-shell

sudo port install translate-shell
  • normalized package name match
  • 一致条件: Translate Shell
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/translate-shell/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment