Introduction to the Client

The Transifex Go Client is a command-line tool that lets you easily work with large volumes of translation files. It works much like git: using the client, you're able to sync files between your local device and Transifex without a UI.

How to install the client

Installing with a script (Linux/Mac)

You can install the Transifex CLI by executing:

curl -o- | bash

This script will:

  • Try to find the correct version for your system.
  • Download & extract the CLI to the current folder.
  • Check for a profile in one of .profile, .bashrc, .bash_profile, .zshrc and append export PATH="<PWD result>:$PATH", so you can call 'tx' from any path.

Note: You need to restart your terminal for the PATH changes to be applied.

Download from Github Releases (Linux/Mac/Windows)

Another way to install the Transifex CLI is to download the latest version of the binary from GitHub here.

Choose the binary according to your system, download it and unzip it. Copy the binary into the location you want and update the PATH variable of your system if necessary.

Building from source

You can also install Transifex CLI in the system by using the code.

Clone the repository and go into the directory

cd /path/to/transifex/cli

The default way to build the binary is

make build

This method requires having golang in your system. It compiles Transifex CLI and moves it into the ./bin/ directory of the repository.

If you don't have golang installed, but you have Docker enabled, you can use the following command:

make docker-build

This will build the binary and it will copy it at ./bin/ in the repository.

Did this page help you?