Use Rex with a Prized box
Updated
Run a Rex server on a Prized box and add it to Rex for Mac, so your terminals and coding agents run on a cloud Linux machine and keep going while your laptop sleeps.
On this page7
Rex is Superlogical's terminal multiplexer. Its sessions live in a server, so with that server on a Prized box, everything you run in Rex keeps going when you close the app or your laptop sleeps.
Rex connects over ssh, and Prized puts your box in your SSH config, so there is no port to open and no key to copy. Rex is in an invite-only beta: get Rex for Mac.
1. Get a box
Sign up and run the command the tour shows. It installs the Prized CLI and adds your box to your SSH config (Quickstart). Use your box's name in place of mango below, and check that ssh reaches it:
ssh mango echo ok
# ok2. Install Rex on the box
In a Rex terminal on your Mac:
rex server install --channel preview ssh://mangoIt asks before each change, needs no sudo, and sets Rex to start with the box. Run it again to upgrade.
Install by hand instead
Run Rex's installer on the box. It does the same setup there:
ssh mango 'curl -fsSL https://pkgs.superlogical.com/rex/install.sh | sh -s -- --user --channel preview'3. Add the box in Rex
The app keeps its own list of hosts. Open the command palette (Cmd-Shift-P), choose Add Remote Host…, and enter ssh://mango.
Sessions you open on the box now run there. Switch Host in the palette moves between the box and your Mac.
4. Set up your agents
A box comes with Claude Code and Codex. Sign them in from a terminal on your Mac:
prized agents handoff claude codex --ghThen let them drive Rex. In a Rex terminal on the box:
rex skill setupAgents you start in Rex can now open tabs, split panes and read your other terminals (Rex's agent docs). In Codex, approve Rex's hook with /hooks the first time.
When the box sleeps
Your sessions live on the box, so they keep running when you close Rex or your laptop. A paused box is out of reach until it wakes:
prized box resume mango --waitA Nano through Small box resumes your sessions where they were, unless it stayed paused for more than 3 days. A Medium or larger restarts, so the programs running in them stop (Pause and resume).
On the free credit, a box pauses after 2 hours idle (Auto-pause). To keep it up while agents work (through 12 idle hours on the free credit, with no limit on a plan or after a top-up):
prized box auto-pause mango offTroubleshooting
| Symptom | What to do |
|---|---|
rex: command not found | Run the command in a terminal inside Rex. |
rex server install only prints help | Update Rex, or install by hand (step 2). |
Rex can't reach mango | Run ssh mango echo ok. If the box is paused, resume it; otherwise run prized doctor (Troubleshooting). |