# 使用 Homebrew, Nix, pacman, winget 安装 transifex-cli

查看 transifex-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:transifex-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install transifex-cli
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#transifex-cli
```

  证据: nixpkgs package indexes: pkgs/by-name/tr/transifex-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S transifex-cli
```

  证据: Arch Linux sync databases: transifex-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- winget (92%):

```sh
winget install --id Transifex.CLI -e
```

  证据: Windows Package Manager source index: Transifex.CLI from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:transifex-cli
- **软件包管理器:** Homebrew
- **版本:** 1.6.17
- **来源摘要:** Transifex command-line client
- **主页:** <https://github.com/transifex/cli>
- **仓库:** <https://github.com/transifex/cli>
- **最后更新:** 2026-07-26T00:51:26+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tx (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.6.17
## 项目历史与用法

Transifex CLI is the command-line client for syncing localization source files and translations between a local project tree and Transifex. Its package-manager role is to put the `tx` command on developer machines and CI runners so translation updates can be scripted alongside builds and releases.

### 项目历史

The current Transifex CLI replaced an older client while preserving backwards compatibility for the important `tx push` and `tx pull` commands. Official migration documentation describes config-section changes from `<project>.<resource>` to `o:<org>:p:<proj>:r:<res>` and changes to the `.transifexrc` token-auth format.

Transifex's docs describe the new client as a Go implementation rather than the previous Python client. The stated reasons are speed, cross-platform binary distribution, and a move from APIv2 to APIv3 because APIv3 is faster and APIv2 was being deprecated.

Official releases in the GitHub repository show the Go CLI continuing through the 1.6 series, with v1.6.17 published in 2024.

### 采用历史

The CLI is adopted where localization is part of a software delivery workflow. The official docs cover Linux and Mac install scripts, GitHub release binaries for Linux, Mac, and Windows, source builds, Docker usage, and GitHub Actions integration, showing that the tool is meant for both local developer use and automated CI pipelines.

The CLI's backwards-compatible `tx push` and `tx pull` behavior matters historically because many projects already had localization sync steps in CI. The migration path lets those projects keep their existing high-level workflow while moving to the new config identifiers, token authentication, and APIv3-backed client.

### 使用方式

A typical project runs `tx init` to create `.tx/config`, uses `tx add` to map a source file and translation file pattern to a Transifex organization, project, and resource, then runs `tx push` and `tx pull` to send source strings and retrieve translations. The docs also document `TX_TOKEN`, `TX_HOSTNAME`, and `TX_CACERT` environment variables for non-interactive execution.

### 为什么软件包爱好者会关心

For package-manager users, Transifex CLI is important because it turns localization into a reproducible command-line contract. Homebrew, Nix, and pacman packaging make the same `tx` binary available to developers and build agents without requiring each repository to vendor an installer script.

The package also represents a common CLI migration pattern: an older Python tool is replaced by a Go binary for speed and distribution, while retaining the command names that existing automation depends on.

### 时间线

- Pre-Go client: Transifex maintained an older Python client using APIv2 and earlier local config identifiers.
- Current client: The official migration guide documents the Go/APIv3 client and the `tx migrate` workflow.
- 2024: Official GitHub releases list Transifex CLI v1.6.17.

### Related projects

- The CLI is part of the Transifex localization platform and is paired with the Transifex API, `.tx/config` project mappings, `.transifexrc` credentials, Docker images, and the official Transifex GitHub Action.

### 来源

- <https://api.github.com/repos/transifex/cli/releases>
- <https://developers.transifex.com/docs/cli>
- <https://github.com/transifex/cli#readme>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## 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

- Unix: ~/.transifexrc

## Credential files

- Unix: ~/.transifexrc
## 其他软件包管理器记录

- Nix - transifex-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/tr/transifex-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - transifex-cli - 1.6.17-4: normalized package name match | Arch Linux sync databases: transifex-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The Transifex command-line tool to download and upload translations from Transifex | https://github.com/transifex/cli
- winget - Transifex.CLI: normalized package name match | Windows Package Manager source index: Transifex.CLI from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/transifex-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/transifex-cli.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
