Stringify CLI

1.0.4 · active · verified Wed Apr 22

The Stringify CLI (Command Line Interface) is a specialized tool for managing localization strings by interacting directly with the Stringify platform. It enables developers to download locale files from and upload changes to the Stringify server via the command line. Currently at stable version 1.0.4, it facilitates key localization workflows through commands for initial configuration, project setup, and synchronization of translation files. Its primary differentiator is its tight integration with the Stringify web interface, allowing for streamlined i18n operations using an API token for secure authentication in both development and CI/CD environments. The tool is designed to simplify the process of keeping local translation files in sync with a centralized localization management system.

Common errors

Warnings

Install

Quickstart

Installs the Stringify CLI globally, shows help, and demonstrates basic configuration and project initialization/sync workflows.

npm install -g stringify-cli
stringify --help

# Configure the CLI (will guide through API token acquisition)
stringify config

# Initialize a project in the current directory, linking to a Stringify project
# This creates a stringify.config.json file
stringify init

# Synchronize locale files (pulls from server, then pushes local changes)
# Use process.env.STRINGIFY_API_TOKEN in CI environments
STRINGIFY_API_TOKEN="your_api_token" stringify sync

view raw JSON →