rundot CLI Reference
rundot is the command-line tool for shipping and operating a RUN.world title: deploy builds, generate game assets and 3D models, inspect and repair live player data, moderate leaderboards, and run growth (paid ads, organic launch packets, competitive intel). This page is a workflow-oriented tour of the whole CLI. For the exhaustive flag list on any command, append --help:
rundot <command> --help
rundot game update-release --helpThree areas have their own deep-dive pages, cross-linked below: Deploying Your Game, Design-time image generation, and Marketing Your Game.
Install & update
# macOS / Linux
curl -fsSL https://github.com/series-ai/rundot-cli-releases/releases/latest/download/install.sh | bash
# Windows (PowerShell)
irm https://github.com/series-ai/rundot-cli-releases/releases/latest/download/install.ps1 | iex
rundot update # update to the latest stable release
rundot update --beta # switch to the beta channel
rundot update --stable # switch back to stableBeta-gated commands
Most commands are generally available. A few groups are hidden from --help until you opt into beta features for the shell session:
export RUNDOT_BETA_FEATURES=1Beta-gated groups: ugc, stats, and collectibles. The marketing group is generally available for Meta Android campaigns; non-Meta networks (google, reddit, run, unity) and non-Android platforms (ios, web) remain beta-gated. Within rundot image, only image edit and image turnaround are beta-hidden. image depth, image remove-bg, and image upscale are visible in normal help. All rundot image commands run prod-only and require interactive rundot login; they reject rk_ API-key sessions. The analytics group is shown to everyone (not gated behind RUNDOT_BETA_FEATURES) but is still labeled (beta).
generate, storage, files, leaderboard, intel, jam, credits, and the 3D pipeline under game are not gated.
Quick reference
rundot login
Authenticate (browser, --api-key, or --refresh-token)
rundot init
Create a new game + local game.config.prod.json
rundot deploy
Ship a new version
rundot pack …
Compile, submit, and check native packs (beta)
rundot list-games
List your games
rundot game …
Metadata, versions, releases, editors, API keys, 3D
rundot generate …
Images, audio, video, TTS, text completions
rundot image …
Post-process images (remove-bg, upscale, depth; edit and turnaround are beta)
rundot storage …
Read/write player key-value storage (debug/admin)
rundot files …
Read/write player file storage (debug/admin)
rundot leaderboard …
Inspect scores, moderate, shadow-ban
rundot rooms …
List your game's live multiplayer rooms, read their logs, and close them
rundot stats …
Player stats (beta)
rundot collectibles …
Collectible grants (beta)
rundot ugc …
User-generated content (beta)
rundot marketing …
Paid ad campaigns (Meta Android GA; others beta) — see Marketing Your Game
rundot socials …
Organic launch packets — see Marketing Your Game
rundot intel …
Competitive market intelligence (credit-priced)
rundot jam …
Scaffold jam kits, get promo links
rundot credits
Credit balance and usage breakdown
rundot profile search
Find creator profiles by username
rundot migrate-config
Migrate legacy config into the visible rundot/ folder
Auth & setup
init creates a new game and writes game.config.prod.json (game ID + build path), which every later command reads when you omit --game-id:
Per-game rk_ deploy keys for headless CI are managed under game api-keys. Key management requires an interactive owner login — it's blocked when you're authenticated with an rk_ key.
Shipping a game
See Deploying Your Game for the full deploy, publish, versioning, and release-notes workflow. The essentials:
Version bump is minor by default (major / minor / patch).
Multiplayer rooms — rooms
Rooms already running keep the server bundle they started on. After a deploy that changes your server code, rundot deploy says how many rooms are still on the older bundle; close them so the next join lands on the new one.
closepreviews the rooms and players it hits, then asks to confirm; pass--yesin scripts and CI. It waits for the result unless--no-wait.Players are told their room ended (see Room closes). Persistent rooms save first and come back with their world on the next join; standard and match rooms come back empty.
A room's bundle shows as
outdatedwhen its tag points at a newer bundle, andunknownwhen the room recorded no tag;--outdatednever closes unknown rooms.rundot deploynever asks about rooms.--close-roomscloses the outdated ones without prompting, and a failed close only warns, so the deploy still succeeds.logsshows your rooms'console.*andthis.loglines, errors your handlers throw (with your bundle's stack), and a line when a room starts, crashes, recovers, is throttled for CPU, and ends, with why. It reads one page (100 lines,--limitup to 200); when there's more, it prints the command for the next page.--sinceand--untiltake a duration back from now (15m,2h,3d) or an ISO time. Each room can log 50 lines per 10 seconds; a line counts any it dropped. Lines are kept 30 days.Needs an owner or editor login for the game, or the game's
rk_key.
Releases: managing live vs. dev builds
Releases point a named label (e.g. prod, staging) at a specific version, so you can promote builds without redeploying:
You can also pin a server or runtime config to a release:
Metadata, visibility, editors, and keywords all live under game — rundot game --help. Always set keywords (see Deploying Your Game).
LiveOps config — liveops
Change live values in a deployed game without a full redeploy: push just the LiveOps config from rundot/liveops.config.json, inspect version history, and roll back. LiveOps push does a scoped read-modify-write — it fetches the target release's current server config, replaces only the liveops key, uploads a new immutable snapshot, and repoints the release; sibling config (leaderboard, shop, simulation, …) is left byte-for-byte unchanged. See the LiveOps Config API for the file format, resolution semantics, and how games read the values at runtime.
push [--game-id <id>] [--release private|review] [--message <text>]— validatesrundot/liveops.config.jsonlocally first (exits non-zero with a path-precise error on failure, making zero network calls), then performs the scoped read-modify-write. Default release:private.--release publicis rejected — LiveOps reachespublicvia the normal review→public promotion of the snapshot, not a direct push.history [--game-id <id>] [--limit <n>]— lists snapshots newest-first with id, createdAt, uploader, message, and which ofprivate/review/publiceach snapshot is currently pointed to by. Default limit 20.show [--game-id <id>] [--release <r> | --server-id <id>]— prints the resolved snapshot's storedliveopsconfig as pretty JSON, plus a line listing the override ids currently active by local (UTC) schedule evaluation. Default--release private. A snapshot with no LiveOps config prints(no liveops config)and exits 0.diff [--game-id <id>] [--release <r>]— compares the localrundot/liveops.config.jsonagainst the deployed release'sliveopsand prints added/removed/changed JSON paths. Exits 0 when identical, 1 when different, so it's safe to script in CI (rundot liveops diff && echo "up to date").rollback --to-server-id <id> [--game-id <id>] [--release private|review] [--message <text>]— takes theliveopskey from an older snapshot and re-applies it via the same scoped read-modify-write (a new snapshot + release repoint; it never repoints the release to the old snapshot wholesale). Same release restriction as push. Rolling back to a pre-LiveOps snapshot faithfully produces a new snapshot with theliveopskey removed.
Generating assets
For image-specific workflows, see Design-time image generation.
All generate commands accept --game-id and --out. Omit --game-id when you are in a game directory — the CLI reads gameId from game.config.<active-env>.json (the same file init writes; on prod that is game.config.prod.json). If you omit --out a filename is derived from the prompt. Every command writes a <output>.json sidecar with the generation ID, prompt, and model, and supports --json for scripting.
Reference inputs
Every flag that takes a reference image, clip, sound, or model accepts the same four forms:
A local file path. A bare file name in the working directory works, and
~/expands to your home directory.An
https://URL.http://is rejected; usehttps://.A
data:<type>;base64,<payload>URI.A creator-storage file key, such as
character_sprites/hero_idle.png. File keys need--game-id.
A value that starts with ./, ../, /, ~, a drive letter, or contains \ must name an existing file. Otherwise the command stops and names the flag, the index, and the path. The CLI reads the file's leading bytes to find its type, so a .png that holds JPEG bytes is sent as image/jpeg.
Local files are sent inline while the whole request stays under 29 MB. A larger file is uploaded to creator storage and sent as a file key, which needs --game-id. Without a game, the command stops and tells you to pass --game-id or an https:// URL. A local --model-url file is always uploaded, so it always needs --game-id.
generate video
--start-image-url, --end-image-url, --image-reference
10 MB
generate video
--video-reference
25 MB
generate video
--audio-reference
10 MB
generate image
--reference-image
10 MB
image edit
--input
10 MB
game generate-3d
--image-url, --back-image-url, --left-image-url, --right-image-url, --top-image-url, --bottom-image-url
10 MB
generate sprite-character-animate
--source-url
5 MB
generate animate-sprite
--source-url
5 MB
game remesh-3d, game rig-3d
--model-url (.glb)
200 MB
Images (backgrounds, UI, concept art)
Preflight the credit charge without running a model:
The quote comes from the canonical /v1/credits/estimate server endpoint. It is labeled exact when RUN controls the final charge; variable text generation shows a low–high range, percentage variance, and the reason the final charge can differ. Add --json for structured output.
Default model is gemini-3.1-flash-image-preview. Available models include gemini-3.1-flash-lite-image, and the Power image models gemini-3-pro-image-preview (the only model supporting --image-size 1K/2K/4K), gpt-image-2, gpt-image-2.5-flare, and gpt-image-2.5-sunburst. Run rundot generate image-models to query models for your authenticated creator. It does not pass a game ID, so a game-scoped generation can still differ. Use rundot generate estimate image for current pricing instead of copying fixed prices.
Background removal models: bria (fast, default) or birefnet (high quality; tune with --remove-background-variant and --remove-background-resolution).
--reference-image accepts local file paths, https:// URLs, and data: URIs with or without a --game-id (local files are encoded in memory and transiently uploaded with the generation request). http:// is rejected. Creator-storage file keys require --game-id. Up to 10 reference images (max 10 MB per file) may be supplied. Local files that push the request past 29 MB upload to creator storage and need --game-id (see Reference inputs). See Design-time image generation for the full workflow.
Audio & speech
sfx duration is 0.5–30s (use --description, not the deprecated --prompt); music is 3–300s. TTS --stability 0–1 (lower = more expressive), --speed 0.5–2.0, --model eleven_v3 (default) or eleven_multilingual_v2.
Video
--start-image-url, --end-image-url, --image-reference, --video-reference, and --audio-reference accept a local file, an https:// URL, a data: URI, or a file key (see Reference inputs).
Providers come from the platform's runtime registry, not a fixed list — new models appear without an SDK or CLI release. Run rundot generate video-models to query the live set (served by GET /v1/videogen/models). Modes: text-to-video (default), image-to-video (requires --start-image-url), reference-to-video. Resolution/aspect support varies by provider — see --help. Video generation executes asynchronously via background jobs with up to a 35-minute completion window, supporting long generations without HTTP gateway timeouts, and cleans up upstream if interrupted.
Text / LLM completions
The messages file is a JSON AiMessage[] array. --system takes a literal string or @path/to/file.txt. Output goes to stdout (no --out); use --stream for incremental SSE output. Completions are billed to the resolved game.
Image utilities (prod-only)
Post-process an existing image. --input accepts a local path, an https:// URL, a data: URI, or a creator-storage key. File keys need a game scope. image edit --input follows Reference inputs, so http:// is rejected there. These commands require prod and an interactive login, not an rk_ API-key session. image edit and image turnaround are beta-hidden; set RUNDOT_BETA_FEATURES=1 to show and run them.
upscale models: standard-v2 (default), low-resolution-v2, cgi, high-fidelity-v2, recovery-v2; scale 1–4. image edit accepts up to 10 inputs and --image-size 1K or 2K. turnaround bills per-megapixel × --num-images. See Design-time image generation.
3D pipeline
Generate → remesh → rig → animate, all under game. Each step downloads a GLB and refuses to overwrite without --force.
Providers: hunyuan3d-v3.1-pro (default), pixal3d, trellis-2, meshy, tripo-v2.5, rodin-v2.5. Quality: draft / standard / high. Remesh presets: character (~5000 faces), prop (~1000 faces), or an exact --target-faces.
The generate-3d image flags accept a local file, an https:// URL, a data: URI, or a file key (10 MB each). remesh-3d and rig-3d --model-url accept an https:// URL, a local .glb, or a file key. See Reference inputs.
Player data (debug & admin)
These commands read and mutate live player data — handle with care. Most clear/reset operations are irreversible.
Key-value storage
Every command takes --scope (app default, or owner — the bucket shared across all games the creator owns).
For safe snapshot/restore (including reading a past state via Firestore Point-In-Time Recovery), use export / import:
import requires the app owner role, only accepts app-scope snapshots, and refuses to cross games or environments. Snapshots contain player PII — keep them gitignored. PITR reaches back ~1 hour (or up to 7 days where PITR is enabled). Do not use import to undo a player's data erasure.
File storage
Server-side media processing via files transform <op> (ops: concat, trim, thumbnail, audioTrim, fade, split, audioMix, copy, frameExtract, upscale):
Leaderboards
Discover IDs, inspect scores, and moderate. Not beta-gated.
reset is interactive — it requires typing RESET to confirm, or --confirm in non-interactive shells. ban applies across all leaderboard instances and requires --reason.
Stats, Collectibles, UGC (beta)
ugc update --data is a shallow (top-level) merge: keys you send replace existing values, omitted top-level keys are preserved, and nested objects/arrays are replaced wholesale (not deep-merged) — to patch a nested object, read the entry first and send the full intended top-level value. (stats config reports the deployed collectibles/stats config; the two share a config endpoint.)
Growth
Paid ads — marketing
Full lifecycle (prepare → generate → submit → track) in Marketing Your Game. Key points:
Meta Android is GA. Meta Android campaigns require no beta flags or opt-ins. Non-Meta networks (
google,reddit,run,unity) and non-Android platforms (ios,web) are beta features and requireRUNDOT_BETA_FEATURES=1.Budgets in credits. All budgets are accepted and displayed in credits (1,000 credits = $1 USD; min budget 50,000 credits, max 25,000,000 credits).
Ad copy is campaign-level, authored once in
campaign.json(headlines/primaryTexts). Meta accepts 1–5 of each (headline ≤ 40 chars, primary text ≤ 125); Google requires exactly 5 of each, with headline ≤ 30 chars and description/primaryText≤ 90 chars. The per-creative sidecars carry prompt/seed/refs only — there is nomarketing copycommand.submitis irreversible and campaign names are single-use. To revise, runmarketing canceland resubmit under a new--name.
Organic launch packets — socials
Platform-ready posts (X, Reddit, TikTok, Instagram, Discord) with tracked links when you ship an update — see Share an update.
Competitive intel — intel
Market intelligence for paid creators, priced in RUN.world credits. Free actions are rate-limited; paid actions never charge without an explicit flag.
Without --confirm-spend an overage prints the cost and exits non-zero; without --generate a missing dossier prints the generation cost and exits non-zero. Every subcommand supports --json.
Jam kits — jam
Credits
--period: today | this_week | this_month (default) | last_month | all_time. --group-by: service (default) | model | app | consumer.
Other
rundot profile search <username>— find creator profiles.rundot analytics export <query> [--game-id <id>]/rundot analytics queries— pre-approved creator analytics exports (beta; shown to everyone,--game-idauto-detected from the local game config when omitted).rundot offerwall …— offerwall admin; internal, requiresVENUS_INTERNAL_API_KEY.
Common workflows
New game from scratch
Promote staging → prod
Inspect a player's save data
Check what you've spent this month
Kinetix native packs (beta)
Compile your committed game source into a signed, data-only native pack. This beta builds and catalogs packs; iOS mounting is a separate follow-up. Three commands:
rundot pack preflight
Compile locally, report unmatched branches, change nothing server-side
rundot pack submit
Upload a source snapshot at a commit and enqueue a pack build
rundot pack status
Per-platform eligibility, plus diagnostics when a build failed
Preflight (local, CI-friendly) — exits non-zero on unmatched branches:
Submit — pass the rk_ deploy key on stdin, never on the command line:
Status:
The numeric profile is not a submit argument: the built product declares its own. See Kinetix Native Packs for what compiles, exact JSON fields, commit-only ZIP behavior, the build state machine, signature/runtime checks, and key rotation. Git, Node.js 22+, and a project-local @series-inc/rundot-syncplay install are required. --commit defaults to HEAD; dirty or untracked files are reported but never uploaded.
Last updated