kr0n Developer CLI
Manage deployments, import local workspaces, stream live execution logs, and synchronize encrypted secrets directly from your terminal.
#Installation & Setup
Install the official CLI globally via your package manager of choice, or run via npx:
$ kron --version kron-cli/1.0.4 darwin-arm64 node-v20.12.0#Authentication
Authenticate your local developer machine with your kr0n workspace. This launches a browser handshake with /login and stores an encrypted session token in ~/.kron/auth.json:
#Local Project Import (kron import --local)
As referenced in the New Service workflow (Add Service Wizard), you can import any local codebase without connecting through the web interface:
--local allows you to stage deployments directly from your working tree before pushing upstream commits to GitHub.#Deploy (kron deploy)
Trigger an automated build and edge dispatch. The CLI streams real-time status identical to the web console's BUILD_LOG_STREAM_V1:
#Live Logs (kron logs)
Tail live edge execution logs directly in your terminal, with support for filtering by project name and severity:
#Environment Variable Management (kron env)
Synchronize secrets and configuration with your kr0n workspace without exposing values in source control:
#Command Reference Matrix
| Command | Arguments / Flags | Description |
|---|---|---|
| kron login | --token=<key> | Authenticates local CLI session via web handshake. |
| kron import | --local, --name=<slug> | Links current directory to workspace as documented in import flow. |
| kron deploy | --prod, --branch=<name> | Synthesizes build and broadcasts immutable artifact to edge. |
| kron logs | --tail, --level, --project | Streams live stdout/stderr logs from the BUILD_LOG_STREAM_V1. |
| kron env | set, pull, list | Manages encrypted variables for Production and Preview scopes. |
| kron status | --json | Returns edge cluster health, deployment status, and latency stats. |