Skip to content

CLI Reference

The LokAI CLI (lokai) lets you push and pull translation keys, authenticate with your workspace, and run diagnostics — all from your terminal or CI/CD pipeline.

Terminal window
# macOS / Linux (Apple Silicon)
curl -fsSL https://lokai.cloud/install.sh | sh
# Or via a specific platform binary — see the releases page on GitHub
Terminal window
lokai auth login

Authenticates your local machine against a LokAI workspace. Stores a token in your system’s credential store.

CommandDescription
lokai auth loginAuthenticate with LokAI
lokai auth logoutRemove stored credentials
lokai pushPush local translation keys to LokAI
lokai pullPull translations from LokAI to local files
lokai doctorRun diagnostics on your local config

Full command reference coming soon.