remix-cli
Remix Cli
Overview
Use the remix CLI for human-facing terminal workflows. Prefer it over handwritten REST calls when the task is local auth, config management, game creation, asset uploads, code uploads, or analytics inspection.
Quick Start
Install and authenticate:
curl -fsSL https://remix.gg/install.sh | bash
remix login
remix whoami
remix login <deviceCode>
Create and upload a game:
remix games create --name "My Game"
remix games icon upload ./icon.png
remix games versions code update --code-path ./game.html
remix games versions validate get
Output Modes
--jsonforces machine-readable output.- non-TTY stdout defaults to JSON.
--quietsuppresses human-only status output and implies JSON-friendly output.
Use JSON mode for agent parsing and shell pipelines.
Config Model
- Project config lives in the nearest
.remix-cli.json. - Credentials live in
~/.config/remix/credentials.json. - Legacy
.remix-mcp.jsoncan still be discovered, but new CLI config is.remix-cli.json. REMIX_API_URLoverrides the API base URL for CLI commands.- Runtime precedence is:
- explicit flags
- environment variables
- stored config and credentials
- defaults
Useful inspection commands:
remix config get
remix config where
remix whoami --json
Commands To Reach For
- Auth:
remix login,remix whoami - Config:
remix config set|get|where - Health:
remix health get - Games:
remix games list|get|create - Assets:
remix games assets list|upload,remix games icon upload - Metadata:
remix metadata categories list,remix games categories set - Versions:
remix games versions list|get|code get|code update|thread get|status get|validate get - Readiness:
remix games launch-readiness get - Analytics:
remix games analytics overview get,remix games analytics shop get,remix games analytics leaderboard get - Shop items:
remix games items list|create|update|delete
Guardrails
- Reuse
gameIdandversionIdfrom.remix-cli.jsonwhen present. - Run
remix whoamibefore debugging auth manually. - If
remix loginis interrupted after it prints a device code, resume withremix login <deviceCode>instead of starting a second device-auth flow. - Use
remix games listonly when the user explicitly wants their game list. - Prefer
remix games versions code update --code-path ...over constructing raw upload requests by hand. - For local development against a non-production API, set
remix config set --api-url http://localhost:3003.
More from farworld-labs/remix-skills
phaser-2d-arcade
Build mobile-first 2D browser games with Phaser 3 Arcade Physics
38remix-agent-publish
Build and publish Remix games with the current Remix toolchain. Use when work touches the official Remix CLI, MCP server, REST publishing APIs, or the @remix-gg/sdk game runtime.
38threejs-lite
Build lightweight mobile-friendly 3D browser games with Three.js
35remix-api-auth
Configure and verify authentication for Remix REST, CLI, and MCP workflows. Use when a task needs `REMIX_API_KEY`, `remix login`, stored Remix credentials, or auth troubleshooting.
33remix-add-sprite
Generate and add sprites to a Remix game
32remix-game-sdk
Reference for the current @remix-gg/sdk runtime. Use when generating or repairing Remix game code, shop item integrations, save-state flows, multiplayer hooks, or host-safe mobile UI behavior.
32