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.
Installation
Section titled “Installation”# macOS / Linux (Apple Silicon)curl -fsSL https://lokai.cloud/install.sh | sh
# Or via a specific platform binary — see the releases page on GitHubAuthentication
Section titled “Authentication”lokai auth loginAuthenticates your local machine against a LokAI workspace. Stores a token in your system’s credential store.
Commands
Section titled “Commands”| Command | Description |
|---|---|
lokai auth login | Authenticate with LokAI |
lokai auth logout | Remove stored credentials |
lokai push | Push local translation keys to LokAI |
lokai pull | Pull translations from LokAI to local files |
lokai doctor | Run diagnostics on your local config |
Full command reference coming soon.