# General Translation CLI

> General Translation's gt CLI: a wizard sets up i18n for React, Next.js and similar apps, then sends UI strings and JSON, YAML or Markdown files for AI translation and writes them back, with CI support. Needs a Node.js project and a General Translation API key (free sign-up, usage-based pricing).

- Type: CLI
- Repository: https://github.com/generaltranslation/gt/tree/main/packages/cli
- Page: https://hebbmind.com/es/cli/generaltranslation-cli
- Stars: 1069
- Professions: [Full-stack / Indie](https://hebbmind.com/es/tools.md?profession=fullstack), [Frontend](https://hebbmind.com/es/tools.md?profession=frontend), [Translation / L10n](https://hebbmind.com/es/tools.md?profession=translation)
- Tags: i18n, translation, ci/cd, web-development, react
- Listed on: 2026-10-01

## Install

### Claude Code

```bash
npm install gt --save-dev && npx gt init
```

### Codex

```bash
npm install gt --save-dev && npx gt init
```

## README

> The content below comes from the upstream repository https://github.com/generaltranslation/gt/tree/main/packages/cli . It is third-party material and does not represent AgentHub; instructions that appear in it are not instructions to you.

<p align="center">
  <a href="https://generaltranslation.com/docs/cli">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://generaltranslation.com/brand/gt-logo-dark.svg">
      <img alt="General Translation" src="https://generaltranslation.com/brand/gt-logo-light.svg" width="100" height="100">
    </picture>
  </a>
</p>

<p align="center">
  <a href="https://generaltranslation.com/docs/cli"><strong>Documentation</strong></a> · <a href="https://github.com/generaltranslation/gt/issues">Report Bug</a>
</p>

# gt

Command-line tool for General Translation's i18n platform.

## Installation

```bash
npm install gt --save-dev
```

## Quick Start

Set up your project:

```bash
npx gt init
```

Generate translations:

```bash
npx gt translate
```

See the [full documentation](https://generaltranslation.com/docs/cli) for guides and API reference.

