Prized docs

CLI.

The Prized CLI is a thin client over the Mac daemon and the box agent; add --help to any command for full flags. Every non-interactive command also takes --json and prints exactly one JSON object.

Commands

CommandWhat it does
prized loginAuthenticate the CLI. Opens the dashboard to mint a token, then sets up your SSH identity.
prized initAdopt the box on your account: write the config, install the SSH stanza, start the daemon.
prized setupThe whole onboarding in one pass: machine, health check, project sync ([PATH], in place when the path is outside ~/Prized; --copy syncs a copy under ~/Prized instead; --clone clones the repo onto the box with no sync, so it never shows in prized sync ls), agent handoff (--agent, --gh, --install-cursor; agents you picked before are remembered, --no-agents opts out), detached session (--start). Safe to re-run; it converges instead of conflicting.
prized upStart the box and reconnect everything, from cold. Reports paused syncs; --resume resumes them.
prized sshConnect to the box in a persistent tmux session. Wakes a suspended box first. Files dragged into the window upload to the box.
prized moshSame session over mosh: instant echo, survives roaming and sleep. Needs mosh installed locally.
prized syncAdd (--local syncs a folder of your own in place), list, pause, resume, flush, repair, and remove synced projects.
prized mountMount a box in Finder as a live volume until interrupted; nothing is copied locally. Experimental.
prized agents lsOne row per coding agent: installed and signed in on the Mac and the box, MCP servers, where it runs.
prized agents handoffCopy the named agents' sign-in and MCP config to the box; --gh and --install-cursor extend it. One-shot; re-run after config changes.
prized agents runStart an agent detached in a tmux session on the box: --session, --dir, --attach, -- ARGS.
prized statusBox, sync, ports, and daemon state at a glance. --watch 2s to keep it open.
prized portsList box listeners and their mirror state; toggle a port on or off.
prized proxyForward one box port to localhost until interrupted.
prized doctorRun the full health check. --fix applies the safe repairs.
prized snapshotSnapshot the box disk without stopping it; ls lists snapshots, restore rolls back. Needs [aws] configured.
prized resizeChange the box size in place: pause syncs, stop, modify, start, resume. Needs [aws] configured.
prized versionPrint client, daemon, and agent versions.
prized updateUpdate prized and the daemon in place from verified releases.
prized daemonManage the Mac daemon: install, uninstall, start, stop, restart, status, logs.
prized agent upgradeUpgrade the agent on the box. It normally updates itself.
prized mutagen ensureFetch Prized's managed copy of Mutagen. The installer, init, and doctor --fix run it for you.

You can also create, resize, and delete boxes from the dashboard. See Boxes.

Global flags

FlagWhat it does
--jsonMachine output: exactly one JSON object on stdout. Interactive commands reject it.
-y, --yesAssume yes for confirmations.
-q, --quietSuppress non-essential output.
-v, --verboseVerbose output; repeat for wire detail on stderr.
--timeoutPer-request network timeout, default 10s.
--no-colorDisable ANSI color. NO_COLOR is honored too.

For agents and scripts

A failing --json command prints:

{ "ok": false, "error": { "code": "CHECK_FAILED", "message": "…", "hint": "…" } }

On success the object is {"ok": true, ...} with the payload inline. error.code maps 1:1 to the exit code, and both are a stable contract:

Exiterror.codeMeaning
0Success.
1INTERNAL, AWS_ERRORInternal or unexpected error.
2USAGEUsage error.
3BOX_UNREACHABLEBox unreachable.
4DAEMON_UNAVAILABLEDaemon required but unavailable.
5CHECK_FAILEDA precondition failed; the hint says what to do.
6CONFLICTAlready exists: project name, port, config.
7PARTIALA batch partly failed: some items of a --all run or an agents handoff succeeded, others did not.
8AUTHNot signed in or token rejected; run prized login.
9MISSING_DEPA dependency is missing; prized doctor --fix usually helps.
10DECLINEDYou declined a confirmation.
130Interrupted.

prized ssh is the exception: after connecting, its exit code is whatever the remote command returned.

Sign-in without a browser: prized login --token dcp_… takes a CLI token minted in the dashboard directly, and is the only login form --json accepts. To hand a whole setup to an agent instead of scripting it yourself, see Agent setup. The docs themselves are mirrored as plain text at /llms.txt (index) and /llms-full.txt (full content) for agents to read.

Files

PathWhat lives there
~/.config/prized/config.tomlThe config: box name, sync projects, port policy, preferred agents ([agents]).
~/.config/prized/CLI token, SSH identity, and per-box certificates.
~/Prized/The default local twin of synced projects; one added with --local lives at its own path instead.
~/.ssh/config.d/prizedThe SSH stanza that makes ssh box-3fa9 work everywhere.
~/Library/Logs/prized/Daemon logs.

An install that predates the rename keeps its old paths (~/.config/doppel, ~/Doppel, ~/.ssh/config.d/doppel) and everything keeps working; see doppel is now Prized.

Updates

prized update replaces the CLI and daemon in place from signed releases. prized status and prized version note when a newer release exists; the check is a cached, sub-second probe you can turn off with check = false under [update] in the config. If your installed CLI falls below the minimum the API supports, commands exit with code 5 and a prized update hint until you update.

Usage telemetry

When you are signed in, the CLI records which command ran, its version, OS, duration, and exit code, and sends those counts to Prized in occasional batches. It never records arguments, flags, paths, or file contents, and it sends nothing while you are signed out.

Turn it off either way:

# in ~/.config/prized/config.toml
[telemetry]
enabled = false
# or per shell
export PRIZED_NO_TELEMETRY=1

This switch covers the CLI only. For what the website and dashboard record, and how to turn that off, see Privacy.

Something unclear or out of date?

On this page