Install and configure the Smartcat CLI
Overview
The Smartcat CLI is a command-line tool for developers who want to synchronize localization files between a local project and Smartcat. You can import and export files, upload and download source and target files, and run pull and push synchronization steps directly from your terminal.

Binary downloads (latest version)
Download the binary for your platform:
-
Linux (x64): https://smartcat-cli.s3.amazonaws.com/smartcat-linux-x64.zip
-
Linux (musl, x64): https://smartcat-cli.s3.amazonaws.com/smartcat-linux-musl-x64.zip
-
Linux (arm64): https://smartcat-cli.s3.amazonaws.com/smartcat-linux-arm64.zip
-
macOS (x64): https://smartcat-cli.s3.amazonaws.com/smartcat-osx-x64.zip
-
Windows (x64): https://smartcat-cli.s3.amazonaws.com/smartcat-win-x64.zip
General syntax
The CLI supports the following commands:
| Command | Details |
|---|---|
| login | Authorize in Smartcat |
| init | Initialize local project configuration file |
| import | Import files to keys collection |
| export | Export keys collection to files |
| upload | Upload files to Smartcat |
| download | Download source/target files from Smartcat |
| project | Commands for manipulating Smartcat projects |
| pull | Pull step of synchronization process |
| push | Push step of synchronization process |
The following general options are available:
| Option | Details |
|---|---|
| h, --help | Prints help information |
| v, --version | Prints version information |
Configuration
Smartcat CLI reads configuration from the following sources, in order:
-
Global configuration, stored in
%APP_DATA%/smartcat/config.json -
Local configuration, taken from a file called
.smartcat(orsmartcat.json) in the current directory -
Environment variables
-
Command-line parameters (see the Global CLI options)
Global CLI options
Main options
-
-s|--server— sets the current Smartcat server (optional) -
-w|--workspace— sets the current Smartcat workspace ID (optional) -
-p|--project— sets the current Smartcat project ID (optional) -
-t|--api-token— sets the current Smartcat API token (optional)
Other options
-
-g|--global— ignore local configuration and use the global one (optional) -
-c|--config— specifies the path to the config file (optional)
Still need help?
Our support team responds within one business day.